This repo is the backend made with Express for EventTrack - a mobile app platform to find nearby events, register and manage their events.
All the API routes can be found under routes direcorty. Besides, the project is structured with the following components.
- Controllers
- Middlewares
- Models for User, Event and Organization
- Routes
- Services
- Functions
-
Make sure Node.js is installed on your machine
# Clone the repository $ git clone https://github.com/sagar-uprety/eventrack_server $ cd eventrack_server
-
Start a MongoDB instance on cloud or your local server and set the following environment variables in .env file under project root directory
DB_USERNAME
DB_PASSWORD
DB_HOST
DB_NAME
-
Install dependencies
$ npm install
-
Run the application
# Start the server (Listens on port 3000) $ node index.js
- Framework : ExpressJS
- Database : MongoDB
- File Storage : Cloudinary
- Maps and : Mapbox
Contributions are highly welcomed. Please send a Pull Request with suggested changes or open an Issue to get things started! Feel free to tag @sagar-uprety in the issues :)