Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gabrielpenteado/api-adonisjs-jwt

RESTful API with JWT authentication for CRUD operations; created with AdonisJS and Supabase database.
https://github.com/gabrielpenteado/api-adonisjs-jwt

adonisjs jwt-authentication jwt-token lucid postgresql supabase

Last synced: 7 days ago
JSON representation

RESTful API with JWT authentication for CRUD operations; created with AdonisJS and Supabase database.

Awesome Lists containing this project

README

        


API-AdonisJS-Supabase


RESTful API with JWT authentication for CRUD operations; created with AdonisJS and Supabase database.


license

node version




### Build with

![AdonisJS Badge](https://img.shields.io/badge/AdonisJS-5A45FF?logo=adonisjs&logoColor=fff&style=for-the-badge)
![Lucid Badge](https://img.shields.io/badge/Lucid-282C33?logo=lucid&logoColor=fff&style=for-the-badge)
![Supabase Badge](https://img.shields.io/badge/Supabase-3FCF8E?logo=supabase&logoColor=fff&style=for-the-badge)
![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white)

### Requirements

- AdonisJS
- Supabase database

### Instalattion

1. Clone the repository.

`git clone https://github.com/gabrielpenteado/api-adonisjs-jwt.git`

2. Install dependencies.

`npm install`

3. Run migrations.

`node ace migration:run`

4. Generate a new key.

`node ace generate:key`

5. Write the new key to **APP_KEY** inside **_.env.example_** and rename it to **_.env_**

6. Replace all other fields into **_.env_** file with the appropriate values corresponding to your database configuration.

7. Run Application.

`node ace serve`

## 🤝 Contributions

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

The foundation of the open source community are the contributions, them inspire us to learn and create. Any contributions are greatly appreciated.

## 📄 License

This project is licensed under the MIT License. See the [LICENSE.md](https://github.com/gabrielpenteado/api-adonisjs-jwt/blob/main/LICENSE.md) file for details.





Gabriel Penteado


Full Stack Developer



[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/gabriel-penteado)
[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/gabrielpenteado)
[![Gmail](https://img.shields.io/badge/[email protected]?style=for-the-badge&logo=gmail&logoColor=white)](mailto:[email protected])