Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/gabrielpenteado/api-adonisjs-jwt
- Owner: gabrielpenteado
- License: mit
- Created: 2024-05-22T23:52:00.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-28T04:20:09.000Z (8 months ago)
- Last Synced: 2024-11-25T12:41:52.542Z (2 months ago)
- Topics: adonisjs, jwt-authentication, jwt-token, lucid, postgresql, supabase
- Language: TypeScript
- Homepage:
- Size: 242 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
API-AdonisJS-Supabase
RESTful API with JWT authentication for CRUD operations; created with AdonisJS and Supabase database.
### 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])