Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A server for CashFlow

This is a MongoDB connected server.

Getting started

To set up this server project locally, follow these steps:

  1. Create an account at MongoDB Atlas and follow the steps.

  2. Deploy your cluster

  3. Connect to your cluster by choosing the "Drivers" option (first option)

  4. Copy the connection string provided for later use.

  5. Creat a new folder. Inside the folder, create two new folders called 'client' and 'server'.

  6. Inside the server file, clone the repository:

    git clone https://github.com/aeishaharbee/cashflow-server.git
    
  7. Install the following dependencies:

    npm install
    
  8. Create a .env file and add the following environment variables:

    SECRET_KEY=your_secret_key
    MONGODB_URI=your_connection_string_from_MongoDB_Atlas
    
  9. Run the development servers: npm start

  10. If you see below lines, you've successfully connected to the server.

Server is running on PORT: 5000
Database is connected
  1. Add a few categories value in your database before proceeding to clone the client side. (the categories that will appear when users use the web app, can't be changed by users)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages