Sample REST API NPM INSTALL MONGODB as Database npm install dotenv copy db DB_CONNECTION= install body-parser you can use cors to use request in any domains