Welcome to the PERN User Registration App repository! This is a full-stack web application built using the PERN (PostgreSQL, Express, React, Node.js) stack, allowing users to register and manage accounts.
- User registration with password hashing
- Token-based authorization. JWT token used.
- User login with authentication
- Form validation and error handling
- User dashboard to view registered users
To run the PERN User Registration App on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/vickytilotia/PERN-User-Registration-App.git cd PERN-User-Registration-App
-
Install server dependencies:
cd server npm install
-
Install client dependencies:
cd ../client npm install
-
Configure the database:
- Create a PostgreSQL database and update the
server/config/db.js
file with your database credentials.
- Create a PostgreSQL database and update the
-
Run the application: In one terminal, start the server:
cd ../server npm start
In another terminal, start the client:
cd ../client npm start
Contributions to the PERN User Registration App are welcome! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Open a pull request explaining your changes.
Please review the Contributing Guidelines before submitting your pull request.