With this application, you can discover interesting events and register for them.
The project builds RESTful APIs using Node.js, Express and Mongoose
This project depends on Nodejs and Node Package Manager (NPM). Before continuing, you must download and install Node (the download includes NPM) from https://nodejs.com/en/download.
Clone the repo:
git clone https://github.com/AndriiSkliar/eliftech-node.git
cd backend-drink-master
Install the dependencies:
npm install
Set the environment variables:
cp .env.example .env
# open .env and modify the environment variables
Running in development:
npm start
# or
npm run dev
The environment variables can be found and modified in the .env
file.
# Host
DB_HOST = mongodb://127.0.0.1:27017/database_name
# Port
PORT = 3000
|--controllers\ # Controllers
|--helpers\ # Help functions
|--middlewares\ # Custom express middlewares
|--models\ # Mongoose models
|--routes\ # Routes
|--app.js # Express
|--server.js # Database connection
To start using our app, go to the link and enjoy the app's features 😎