Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lauble/web-application-template
a web application template using PostgreSQL, Express, React, Node, Sequelize, Axios and Webpack
https://github.com/lauble/web-application-template
axios express-js javascript node-js postgresql sequelize webpack
Last synced: 29 days ago
JSON representation
a web application template using PostgreSQL, Express, React, Node, Sequelize, Axios and Webpack
- Host: GitHub
- URL: https://github.com/lauble/web-application-template
- Owner: lauble
- Created: 2022-05-12T15:47:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-24T17:31:16.000Z (over 2 years ago)
- Last Synced: 2024-10-25T10:02:04.927Z (3 months ago)
- Topics: axios, express-js, javascript, node-js, postgresql, sequelize, webpack
- Language: JavaScript
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web Application Template with React
:white_small_square: PostgreSQL
:white_small_square: Express
:white_small_square: React
:white_small_square: Node
:white_small_square: Sequelize
:white_small_square: Axios
:white_small_square: Webpack## :small_blue_diamond: Getting Started
To run on your local machine:
```
npm install
npm run build
npm start
```
This project is set up to run on local host port 8080. You can change the port number in the following file:
```
server/index.js
const PORT = 8080
```
Create your database in PostgreSQL and update the variable in the following file:
```
server/db/db.js
const dbName = YOUR_DB_NAME
```## :small_blue_diamond: Scripts
| command | description |
|------------------------------------| --------------------------------------------------------------------|
| :radio_button: npm run seed | runs seed file |
| :radio_button: npm run build | runs webpack / builds bundle.js |
| :radio_button: npm run build-watch | runs webpack and watches files / recompiles whenever they change |