Skip to content

marusoft/fullstack-with-mean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

create-restful-api

recipe crud api

Installation

git clone https://github.com/marusoft/create-restful-api.git

cd create-restful-api

cd backend

touch .env file for loading the username and password then past URL = mongodb+srv://username:[email protected]/test?retryWrites=true&w=majority inside .env

check .env.sample for how to implement .env and replace username and password with your own

Install dependencies

Run npm install

Start server

Run node server.js or nodemon server.js

Start the frontend app

Run ng serve

Navigate to http://localhost:4200 to start testing the endpoint