Skip to content

Freeongoo/react-express-crud-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example create react application with express

Configuration

cp db/conn.js.dist db/conn.js

Set correct login, password and db name

Configuration MongoDB

  • Install MongoDB
  • run in console mongo
  • Configuration from console mongo:
    • Create new db:
    $ use user
    
    • Create login and password:
    $ db.createUser({user:"admin", pwd:"admin", roles:[{role:"readWrite", db:"user"}]})
    
    don't forget change password

Run

Server

in root dir:

npm run start

Client

cd client
npm run start

About

CRUD application with react and express

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published