Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/devalienbrain/sports-facility-booking-server
- Owner: devalienbrain
- Created: 2024-08-26T13:18:42.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-05T05:42:53.000Z (4 months ago)
- Last Synced: 2024-11-13T23:29:51.720Z (2 months ago)
- Topics: express-js, mongodb, mongoose, typescript
- Language: TypeScript
- Homepage: https://sports-facility-booking-server-vert.vercel.app/
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/