This project is a Node.js application that uses JWT for authentication.
To install the project, follow these steps:
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd <repository-name>
- Install the dependencies:
npm install
To use the project:
- Start the server:
npm start
- Open a web browser and navigate to
http://localhost:<port>
.
The application provides the following API endpoints:
POST /api/register
: Register a new user.POST /api/login
: Log in an existing user.
Contributions are welcome! Please create an issue or open a pull request if you would like to contribute.