Skip to content

Hacktivists-AUB/Need2Give-backend

Repository files navigation

Need2Give-frontend


Need2Give aims to bridge the gap between donation centers and users. Our goal is to provide a platform for users to connect with donation centers and donation centers to promote their items.

Prerequisites

Setup

Follow these steps to setup and run the project locally:

  1. Clone the repository
git clone https://github.com/Hacktivists-AUB/Need2Give-frontend
  1. Install dependencies
npm install
  1. Create a PostgreSQL database To do that, simply run the following sql query:
CREATE DATABASE <database_name>;
  1. Configure environment variables

Create a .env file in the project root directory with the same content as the .env.sample, and configure its fields according to your setup.

  1. Run migrations
npm run migrate:latest

For more information on other migration options, run the following command

npm run migrate
  1. Seed the database (optional)
npm run seed

Usage

The following command should be simple enough in development:

npm start

The following commands should be better in production for efficiency purposes:

npx tsc --outDir build
node build/index.js

License

This project is licensed under the GNU General Public License v3.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •  

Languages