https://github.com/webmobiledev/pern-stack
https://github.com/webmobiledev/pern-stack
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/webmobiledev/pern-stack
- Owner: webmobiledev
- Created: 2022-11-17T16:42:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T16:45:19.000Z (over 3 years ago)
- Last Synced: 2025-03-21T07:15:45.660Z (about 1 year ago)
- Language: JavaScript
- Size: 468 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pern-stack
(PERN) Postgres Express React Node stack using yarn workspaces.
## Getting Started
### Prerequisites
- [Yarn](https://yarnpkg.com/en/)
- [NodeJS](https://nodejs.org)
- [PostgreSQL](https://www.postgresql.org/)
### Steps
- Run `yarn`.
- Create a new database and run `db.sql` to setup the tables needed.
- In the packages/server directory, create a .env file (or rename the .env.example file to .env) and place the values.
- Make sure the new database with tables is running.
- Run `yarn dev`.
- Navigate to `localhost:3000` in your browser.
### `yarn dev`
Builds the app for development. It is watched by webpack for any changes in the front end (React) and back end (Express). Check out localhost:3000 on browser.