Chebil-Ilef / MERN-CRUD-APP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#crud-users

Server

npm intsall

npm run dev

Client

npm install

npm start

Together (concurrently)

npm run dev

backend base url : http://localhost:3700/

frontend base url : http://localhost:3000/

change the content of MONGO_URI in your .env file with you access URI mongoDB cloud

List of routes (backend)

#Add user

/api/users (POST)

#Get all users

/api/users (GET)

#Get one user

/api/users/:id (POST)

#Update user

/api/users/:id (POST)

#Delete one user

/api/users/:id (POST)

List of routes (frontend)

/ (principal page)

/:id (find user by id)

About


Languages

Language:JavaScript 66.6%Language:HTML 28.3%Language:CSS 5.1%