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
- Host: GitHub
- URL: https://github.com/jaay7/transport-backend
- Owner: Jaay7
- Created: 2022-02-15T02:39:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T11:29:49.000Z (about 4 years ago)
- Last Synced: 2025-04-09T07:25:58.813Z (about 1 year ago)
- Topics: docker, docker-compose, expressjs, mysql, nodejs, rest-api
- Language: JavaScript
- Homepage: https://transport-app-apis.onrender.com
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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