Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cartory/antique-bidding-back
Antique bidding backend
https://github.com/cartory/antique-bidding-back
cors dotenv express javascript mysql2 sequelize socket
Last synced: 23 days ago
JSON representation
Antique bidding backend
- Host: GitHub
- URL: https://github.com/cartory/antique-bidding-back
- Owner: cartory
- Created: 2021-11-04T15:18:40.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T21:03:32.000Z (over 3 years ago)
- Last Synced: 2024-11-19T09:12:25.270Z (3 months ago)
- Topics: cors, dotenv, express, javascript, mysql2, sequelize, socket
- Language: JavaScript
- Homepage: https://antique-bidding-app.herokuapp.com
- Size: 210 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Antique Bidding App
Antique Bidding App - Backend, build with `javascript`. You can see the frontend side [here](https://github.com/cartory/antique_bidding_app.git)## Entity Relationship Diagram
![EDR-VPP](https://media.discordapp.net/attachments/810375634042748948/907357095815446528/Screen_Shot_2021-11-08_at_15.53.05.png)
## Getting Started
For running backend you to create a `.env` file for enviroments variables and set your DB
by default is with `mysql`### Download source code
```bash
git clone https://github.com/cartory/antique-bidding-back.git
```
### Install Dependencies
```bash
npm install
```
### Seed Database
You have to run seed 2 times
1. `Running bulkCreate for categories and roles`
2. `Running bulkCreate for antiques items ````bash
npm run seed
```
### Run Project
The project runs by default on port 8000 with `socket` server
```bash
npm start
```
or
```bash
npm run dev
```
![localhost](https://cdn.discordapp.com/attachments/810375634042748948/907362972211503144/Screen_Shot_2021-11-08_at_16.16.20.png)
## Author
* **cartory** - *Pedro Caricari* - [cartory](https://github.com/cartory)