Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devalienbrain/sports-facility-booking-server


https://github.com/devalienbrain/sports-facility-booking-server

express-js mongodb mongoose typescript

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

##Sports Facility Booking Platform

### Live Deploy Link: https://sports-facility-booking-platform-eta.vercel.app/

## Follow the Instructions to Run the Application/Project Locally

### Clone the GitHub Repository

1. Copy the GitHub repository URL to your clipboard.
2. In your local PC, open a terminal and run the following command:
```sh
git clone
```

### Install Dependencies

1. Navigate to the project directory:
```sh
cd
```
2. Initialize the Node.js project and install dependencies:
```sh
npm i
```

### Environment variable setup

1. Generate your MongoDB username and password.
2. In the root of the project folder, create a .env file.
3. In the .env file, add the necessary environment variables. For example:

```sh
PORT =
DB_URL = mongodb+srv://:@cluster0.it45qfo.mongodb.net/express-mongoose-typescript-project?retryWrites=true&w=majority&appName=Cluster0

```

### To Run the Project

1. In the terminal, run the following command:
```sh
npm run start:dev
```
This will start the project in development mode.

Feel free to replace `` with the actual URL of your GitHub repository and `` with the appropriate directory name if needed.

CLIENT CODE lINK: https://github.com/devalienbrain/sports-facility-booking-client
DEPLOY LINK: https://sports-facility-booking-server-vert.vercel.app/