Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/velascoandres/oh-backend

The Open House (oh) backend is built with Nestjs framework. It project makes use of firebase-admin for authentification with google, MongoDB for store properties with geolocation, pictures metadata, categories, navigation history, etc. MySQL for handling user profiles, permissions, roles, etc.
https://github.com/velascoandres/oh-backend

api-rest firebase mongodb nestjs property real-world typescript

Last synced: 1 day ago
JSON representation

The Open House (oh) backend is built with Nestjs framework. It project makes use of firebase-admin for authentification with google, MongoDB for store properties with geolocation, pictures metadata, categories, navigation history, etc. MySQL for handling user profiles, permissions, roles, etc.

Awesome Lists containing this project

README

        

# Open House Backend

## Setup project enviroment

This application was dockerized, So you need to have docker installed in your virtual machine

1. Configure the .env like the following template

```text
# mail
MAIL_HOST=smtp.faker.com
[email protected]
MAIL_PASSWORD=fake123
[email protected]

# google cloud and firebase
BUCKET_NAME=faker
GOOGLE_APPLICATION_CREDENTIALS=/usr/src/app/

# redis
REDIS_HOST=localhost
REDIS_PORT=30502

# optional
MAIL_TRANSPORT=smtp://${MAIL_USER}:${MAIL_PASSWORD}@${MAIL_HOST}
```

### With Dockerized application

2. Run docker compose

```shell script
docker-compose up -d dev
```

### Without Dockerized application

Just run docker compose for the following services

```shell script
docker-compose up -d mysql_db mongo_db redis_db
```

Run the server on development mode

```shell script
npm run start:dev
```