Registration_Form

Registration_Form is a Full_Stack project made up of MERN stack. In this project, People can register with their details and save it in the database. People can also Login by their credentials of email and password. And also it send a token after successful login.

Table of Contents

Installation

Install my-project with npm

Download code (or) Repository Clone to be used for getting the code in your local machine

  • To start frontend

    Open Live server of file index.html inside the folder client

  • To start backend

  cd server
  node index.js

Usage/Examples

  • Below link is for starting the front-end.
http://127.0.0.1:5500/client/index.html

there we can register and upload our personal information to the database.

Features

  • Responsiveness
  • Registration
  • Login
  • bcrypt password

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

License

MIT

Environment Variables

To run this project, you will need to add the following environment variables to your /server/.env file

.env

PORT = 8080
MONGO_URL = here your Database COnnection URL
JWT_SECRET = here your secret key anything

server.js

  • Registration_Form Post API Request http://localhost:8080/register

  • Login_Form Post API Request http://localhost:8080/login