Skip to content

Codinglone/tf-expense-tracker-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Instructions

Backend Setup

Follow the steps below to set up and run the backend server for the Expense Tracker application:

Step 1: Clone the Repository

Clone the repository from GitHub to your local machine:

git clone https://github.com/Codinglone/tf-expense-tracker-backend.git

Step 2: Navigate to the Backend Directory

Change to the backend directory:

cd tf-expense-tracker-backend

Step 3: Install Dependencies

Install all required dependencies using npm:

npm install

Step 4: Configure Environment Variables

Create a .env file in the root of the backend directory and add the following environment variables:

PORT=5000
MONGODB_URI=mongodb://localhost:27017/expense-tracker
JWT_SECRET=your_jwt_secret_key
  • Replace your_jwt_secret_key with a strong, secure key for JWT authentication.

Step 5: Start the Development Server

Run the following command to start the backend server in development mode:

npm run dev

Backend API

  • The backend API will be available at: http://localhost:5000/api
  • API documentation is accessible at: http://localhost:5000/api-docs

For additional details or troubleshooting, refer to the project documentation or contact the development team.

About

Taskforce expense tracker app backend built with NodeJS, express and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published