it is a simple authentication website where user have the functionality of Register, Login and after that successful login he/she will be redirected to his particular page i.e. Profile page.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/SachinMondal/suth-frontend.git
-
Install dependencies:
npm install
-
Set up environment variables:
Create a
.env
file in the root directory and add necessary environment variables. See.env.example
for reference.
To start the server, run:
npm start
The server will start at http://localhost:3000
by default (or specify your preferred port in .env
).
- Environment Variables:
PORT
: Port number for the server (default: 3000)- Other variables specific to your project (e.g., database URI, API keys)
Describe the available API routes and endpoints of your application.
POST /api/v1/register
: Page for registering new User.POST /api/v1/login
: Page for Login for the existing User.GET /api/v1/user
: Profile page for the logged in User.
Feel free to fork this repository, submit pull requests, and report issues.
This project is licensed under the [License Name] License - see the LICENSE file for details.