shivakumar139 / login-tws

Home Page:https://login-tws.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login System TWS πŸ”₯

Run Locally βœ…

Clone the project

  https://github.com/shivakumar139/login-tws.git

Go to the project directory

  cd login-tws

Install dependencies

  yarn install

Start the server

  yarn run dev

Create a new file called .env Copy all the content from .env.developer and paste it into .env Change all url.

Environment Variables πŸ„

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

APP_PORT

DEBUG_MODE

DB_URL

JWT_SECRET

APP_URL

API References πŸ”‘

Variables

Key Value Type
localhost http://localhost:5000/api default

Endpoints πŸ‘ˆ


Auth 🌱

1. Login

Endpoint:

Method: POST
Type: RAW
URL: {{localhost}}/api/v1/login

Body:

{
    "email": "shiva@gmail.com",
    "password": "12345"
}

2. Register

Endpoint:

Method: POST
Type: RAW
URL: {{localhost}}/api/v1/register

Body:

{
    "name":"shiva",
    "email": "shiva@gmail.com",
    "password": "password",
    "mobile": "9023236998",
    "city": "ludhiana",
    "state": "Punjab",
    "country": "India",
    "address": "pritam nagar"
    
}

About

https://login-tws.vercel.app


Languages

Language:JavaScript 100.0%