Overview
This product is a Full-Stack JavaScript project called PERN (Postgres + Express + React + Node). It includes a frontend developed with React and a backend developed with Express. The project also utilizes PostgreSQL for database management.
Features
- Customized frontend using a bootstrapped React project
- Backend developed with Express
- Integration with PostgreSQL for database management
- Authentication endpoints for user login, registration, and user retrieval
- API endpoints for creating, retrieving, and updating posts
Installation
Ensure that you have the following global installations:
- Node v8 or higher
- npm v5 or higher
- PostgreSQL (if running a local DB instance)
Run
npm installto configure the local environment.Create a
.envfile and define the necessary environmental variables. You can refer to the provided.env.examplefile for an example.Perform database initialization, migration, and seeding by running
npm run seed.Start the development server by running
npm run dev.To build the production version of the frontend app, run
npm run build.
Summary
The PERN (Postgres + Express + React + Node) project is a Full-Stack JavaScript application that includes a customized React frontend and an Express backend. It utilizes PostgreSQL for database management and provides authentication endpoints for user login, registration, and retrieval. Additionally, it offers API endpoints for creating, retrieving, and updating posts. The installation steps involve configuring the local environment, initializing the database, and starting the development server.