https://github.com/tusho7/entertainment-web-app-api
https://github.com/tusho7/entertainment-web-app-api
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tusho7/entertainment-web-app-api
- Owner: Tusho7
- Created: 2023-01-12T08:57:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T13:14:23.000Z (almost 3 years ago)
- Last Synced: 2025-03-22T20:30:03.495Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.88 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Entertainment web API
### Table of Contents
- [Prerequisites](#Prerequisites)
- [Tech Stack](#Tech-Stack)
- [Getting Started](#Getting-Started)
- [Project Structure](#Project-Structure)
#
### Prerequisites
-
Node JS @16.X and up
-
npm @8 and up
#
### Tech Stack
-
dotenv @ 16.0.3 - zero-dependency module that loads environment variables from a .env file
-
express @ 4.18.2 - web framework for node
-
mongodb @ 4.13.0 - document database
-
mongoose @ 6.8.3 - MongoDB object modeling tool
#
### Getting Started
1. First of all you need to clone app repository from github:
```
git clone https://github.com/Tusho7/entertainment-web-app-api
```
2. Next step requires install all dependencies.
```
npm install
```
3. Also you need to create .env file where copy information from .env.example file
```
cp .env.example .env
```
4.To create your own databse, need to create new local connection, host woub be localhost.Also you need to replace variables values in .env file, or you can generate mongo atlas url with your user and password
3
### Project Structure
```
|--- src
| |--- config # configuration files
| |--- controllers # controler files
| |--- routes # router files
| |---|--- server.js # main file
- package.json # dependency manager configurations
```