Skip to content

takanome-dev/done-with-it-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


DoneWithIt Logo

DoneWithIt Mobile App - Backend

This is the backend for the DoneWithIt mobile app. It is built using Node.js, Express, and MongoDB.

Prerequisites

Installing

  1. fork the repo

  2. Clone the repo

git clone https://github.com/<your_username>/done-with-it-api.git
  1. Change directory
cd done-with-it-api
  1. Install NPM packages
npm install
  1. Create a .env file in the root directory and add the following environment variables
# Generate one using: openssl rand -base64 32
JWT_PRIVATE_KEY = "your_jwt_private_key"
# default port
PORT = 9000
# your ip address
ASSETS_BASE_URL = "http://<your_ip_address>:<port_number>/assets/"
# max number of images to be uploaded
MAX_IMAGE_COUNT = 5
  1. Run the server
npm start

⚖️ LICENSE

The scripts and documentation in this project are released under the MIT LICENSE

🙏 Support

Don't forget to leave a ⭐ if you like this project 😉

📫 Contact

Find out more about how to reach me at takanomedev221@gmail.com