Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APIFranchiseExample

Quick Tutorial: How to Run the Node.js App with MongoDB

This tutorial will guide you step-by-step to run the Node.js application with MongoDB Atlas (cloud-hosted).


Prerequisites

  1. Node.js: Make sure Node.js is installed on your machine.

  2. MongoDB Atlas:

    • Obtain your MongoDB connection URI. Add it to the .env file.
  3. Postman (optional): To test HTTP requests.


Instructions to Run the App

  1. Clone the Project
git clone https://github.com/Kalugy/APIFranchiseExample.git
cd franchise-api

npm install
  1. Configure Environment Variables Add MongoDB credentials and other environment variables to your .env file.

  2. Run the Server

npm run dev
  1. Test Endpoints in Postman Use Postman to test the API. Link to Postman

  2. Optional run with docker

docker-compose up --build 

Deploy Pdn Links

Link to PDN Backend

Note

  • Task.md: Show an overview of task with acceptation criteria.

About

API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages