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

https://github.com/jaay7/transport-backend


https://github.com/jaay7/transport-backend

docker docker-compose expressjs mysql nodejs rest-api

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# transport-backend

#### How to run?

- Clone the application.

- Navigate to the directory.
```sh
cd transport-backend
```
- Install the packages.
```sh
npm install
```
- Create a .env file in the root folder.
```
MYSQL_HOST=mysql_server
MYSQL_DATABASE=transport_service
MYSQL_USER=
MYSQL_PASSWORD=
MYSQL_ROOT_PASSWORD=
PORT=3020
```
- Running the application.
```sh
npm start
```
- To start the docker compose.
```sh
docker-compose up
```
- To remove the docker compose.
```sh
docker-compose down
```

#### Frontend
https://github.com/Jaay7/transport-frontend