Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ew-endwall/fastyauth

This API provides endpoints for user registration, login, and profile management. The data is stored in MongoDB, and all inputs are validated for security and integrity. The API is implemented using Node.js and Fastify, with JWT for authentication. Multi-language supported.
https://github.com/ew-endwall/fastyauth

api auth auth-project authentication authentication-backend authorization fastify fastify-auth fastyauth rest-api restful-api vue vue3 vuejs vuex vuex-store

Last synced: about 2 months ago
JSON representation

This API provides endpoints for user registration, login, and profile management. The data is stored in MongoDB, and all inputs are validated for security and integrity. The API is implemented using Node.js and Fastify, with JWT for authentication. Multi-language supported.

Awesome Lists containing this project

README

        



Logo


fastyAuth



nodejs | fastify | mongodb | vite | vue | tailwind | i18n | axios | bcrypt | jwt | joi | pino


( authentication & authorization )




## Table Of Contents

- [About](#about)
- [Features](#features)
- [Screenshot](#screenshot)
- [Light](#light)
- [Dark](#dark)
- [Documents](#documents)
- [Quick Installation](#quick-installation)
- [Frontend](#frontend)
- [Frontend Install](#frontend-install)
- [Frontend Development](#frontend-development)
- [Frontend Build](#frontend-build)
- [Backend](#backend)
- [Backend Install](#backend-install)
- [Backend Development](#backend-development)
- [Usage Rights](#usage-rights)
- [Licensees Rights](#licensees-rights)
- [Users Rights](#users-rights)
- [License](#license)

## About

This API provides endpoints for user registration, login, and profile management. The data is stored in MongoDB, and all inputs are validated for security and integrity. The API is implemented using Node.js and Fastify, with JWT for authentication. With multi-language supported.

# Features

- Account creation, login and authorization
- Account management and delete
- Account verification, email and sms
- Password reset, email and sms
- Multi-layered data authentication and data security
- Access, debug, error and logging (console and file)
- Rest-API
- API documentation
- Multi-language support (en, tr) GUI and API
- Dark mode (dark, light)

- Server fastify
- Database MongoDB
- Validation Joi mongoose fastify
- Logging pino
- Token jsonwebtoken
- Gui Vite Vue.js Tailwindcss
- http requests Axios
- Multi-language i18next

# Screenshot



## Light








## Dark





# Documents

> [!TIP] > **You can look at the [documentation](./backend-fastify-restapi/src/routes/documentation/v1-Documentation.md) to learn how to use it.**

# Quick Installation

## Frontend

```bash
$ cd ./frontend-vue-gui/
```

### Frontend Install

```bash
$ pnpm install
```

### Frontend Development

```bash
$ pnpm dev
```

### Frontend Build

```bash
$ pnpm build
```

## Backend

```bash
$ cd ./backend-fastify-restapi/
```

### Backend Install

```bash
$ pnpm install
```

### Backend Development

```bash
$ pnpm dev
```

# Usage Rights

## Bik Public License 2.0 | Rights

According to this license text, the rights of the license holder and users are as follows:

### Licensees Rights

> [!WARNING]
>
> - The licensee who owns the copyright of the work has the right to protect the work and through this license grants its users the right to use it under certain conditions.
> - Has the right to determine and change the license of the work.
> - Has the right to grant permission for commercial use.
> - Has the right to allow the redistribution of the work under certain conditions.
> - In terms of liability, we cannot be held responsible for any damage or loss arising from the use of the work.

### Users Rights

> [!IMPORTANT]
>
> - The user has accepted the license terms and has the right to use the work as long as it complies with these rules.
> - Has the right to change the work as she wishes, but these changes must not violate the license conditions.
> - Has the right to use it for commercial purposes.
> - It has the right to redistribute the work, but cannot rename it, and when doing this, it must preserve the original license and copyright notice, that is, the original license holder must also be stated.
> - The user is responsible for any damage that may occur while using the work.

> [!CAUTION]
> These rights and responsibilities specify the relationship between the licensee and the user and the basic rules governing the use of the work. If the user does not comply with the license terms, the license automatically terminates and he cannot claim any rights.

## License

> Distributed under the Bik Public License 2.0 License. See [LICENSE](./LICENSE) for more information.