https://github.com/aplinkosministerija/biip-auth-api
Autentifikavimo ir naudotojų valdymo modulio API
https://github.com/aplinkosministerija/biip-auth-api
auth auth-api biip biip-auth
Last synced: 9 months ago
JSON representation
Autentifikavimo ir naudotojų valdymo modulio API
- Host: GitHub
- URL: https://github.com/aplinkosministerija/biip-auth-api
- Owner: AplinkosMinisterija
- License: mit
- Created: 2023-11-22T13:06:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T10:36:25.000Z (over 1 year ago)
- Last Synced: 2024-10-19T10:57:10.742Z (over 1 year ago)
- Topics: auth, auth-api, biip, biip-auth
- Language: TypeScript
- Homepage:
- Size: 431 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BĮIP Auth API
[](https://github.com/AplinkosMinisterija/biip-auth-api/blob/main/LICENSE)
[](https://github.com/AplinkosMinisterija/biip-auth-api/issues)
[](https://github.com/AplinkosMinisterija/biip-auth-api/stargazers)
This repository contains the source code and documentation for the BĮIP Auth API, developed by the Aplinkos
Ministerija.
## Table of Contents
- [About the Project](#about-the-project)
- [Getting Started](#getting-started)
- [Installation](#installation)
- [Usage](#usage)
- [Deployment](#deployment)
- [Contributing](#contributing)
- [License](#license)
## About the Project
The BĮIP Auth API is designed to provide information and functionalities related to authentication and users management (permissions, companies, groups, etc).
## Getting Started
To get started with the BĮIP Auth API, follow the instructions below.
### Installation
1. Clone the repository:
```bash
git clone https://github.com/AplinkosMinisterija/biip-auth-api.git
```
2. Install the required dependencies:
```bash
cd biip-auth-api
yarn install
```
### Usage
1. Set up the required environment variables. Copy the `.env.example` file to `.env` and provide the necessary values for the variables.
2. Start the API server:
```bash
yarn dc:up
yarn dev
```
The API will be available at `http://localhost:3000`.
## Deployment
### Production
To deploy the application to the production environment, create a new GitHub release:
1. Go to the repository's main page on GitHub.
2. Click on the "Releases" tab.
3. Click on the "Create a new release" button.
4. Provide a version number, such as `1.2.3`, and other relevant information.
5. Click on the "Publish release" button.
### Staging
The `main` branch of the repository is automatically deployed to the staging environment. Any changes pushed to the main
branch will trigger a new deployment.
### Development
To deploy any branch to the development environment use the `Deploy to Development` GitHub action.
## Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a
pull request. For more information, see the [contribution guidelines](./CONTRIBUTING.md).
## License
This project is licensed under the [MIT License](./LICENSE).