Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 644 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 644 Bytes

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