Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cos18/simple-42api-oauth

Simple Backend Server for 42api
https://github.com/cos18/simple-42api-oauth

Last synced: 2 months ago
JSON representation

Simple Backend Server for 42api

Awesome Lists containing this project

README

        

🔐 simple-42api-oauth


Simple Backend server for using 42api OAuth!

This Project is build with [serverless](https://github.com/serverless/serverless) and ❤️

> 🚨 This project will be updated with [FastAPI](https://fastapi.tiangolo.com) soooooon!


## 🛠 Development Environment

- Node.js LTS (v12.18+)
- Yarn 1.22+ (`npm install -g yarn`)
- Serverless 1.78+ (`npm install -g serverless`)
You need to set serverless credentials after installation. See [here](https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md).


## 💻 How to Run
Before you run, you need to create .env file for some constants. Check [.env.sample](.env.sample) for detail.

#### 🏡 Test Project in Local
```bash
sls invoke local -f (function name - ex. token)
```

#### 🏗 Deploy Project

```bash
sls deploy
```