An open API service indexing awesome lists of open source software.

https://github.com/juanbelieni/jwt

A API that authenticates users with JSON Web Token (JWT).
https://github.com/juanbelieni/jwt

express jsonwebtoken jwt node typescript

Last synced: 2 months ago
JSON representation

A API that authenticates users with JSON Web Token (JWT).

Awesome Lists containing this project

README

          

# JWT with TypeScript

A API that authenticates users with JSON Web Token (JWT).

## 🎯 Features

- Register and login a user with email and password.
- Show all users for authenticated users.

## 🔧 Installation

```bash
# Clone
$ git clone http://github.com/juanbelieni/jwt.git

# Navigate to folder
$ cd jwt

# Install with NPM
$ npm install
# or Yarn
$ yarn
```

## 🔭 Usage

```bash
$ yarn start
```
After starting, you can access these routes:
- `POST /register`
- `POST /login`
- `GET /users`

## 📪 Contributing

1. Fork the Project
2. Create your Feature Branch: `git checkout -b feature/your-feature`
3. Commit your Changes: `git commit -m 'Add your-feature'`
4. Push to the Branch: `git push origin feature/your-feature`
5. Open a Pull Request

## ✉ Contact
Twitter: [@juanbelieni](https://twitter.com/juanbelieni) | Email: [juanbelieni@gmail.com](mailto:juanbelieni@gmail.com)