Thream/api

Thream's application programming interface to stay close with your friends and communities.

Licence MIT Contributor Covenant

TypeScript Standard Style Conventional Commits Dependabot badge

## 📜 About Thream's application programming interface to stay close with your friends and communities. This project was bootstrapped with [create-fullstack-app](https://github.com/Divlo/create-fullstack-app). ## ⚙️ Getting Started ### Prerequisites - [Node.js](https://nodejs.org/) >= 14 - [npm](https://www.npmjs.com/) >= 6 - [MySQL](https://www.mysql.com/) >= 8 ### Installation ```sh # Clone the repository git clone https://github.com/Thream/api.git # Go to the project root cd api # Configure environment variables cp .env.example .env # Install dependencies npm install ``` You will need to configure the environment variables by creating an `.env` file at the root of the project (see `.env.example`). ### Development environment with [Docker](https://www.docker.com/) ```sh # Setup and run all the services for you docker-compose up ``` ### Production environment with [Docker](https://www.docker.com/) ```sh # Setup and run all the services for you docker-compose --file=docker-compose.production.yml up ``` #### Services started - API : `http://localhost:8080` - [MySQL database](https://www.mysql.com/) #### Services started only in Development environment - [phpmyadmin](https://www.phpmyadmin.net/) : `http://localhost:8000` - [MailDev](https://maildev.github.io/maildev/) : `http://localhost:1080` ## 💡 Contributing Anyone can help to improve the project, submit a Feature Request, a bug report or even correct a simple spelling mistake. The steps to contribute can be found in the [CONTRIBUTING.md](./CONTRIBUTING.md) file. ## 📄 License [MIT](./LICENSE)