Skip to content

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.

Notifications You must be signed in to change notification settings

velascoandres/oh-backend

Repository files navigation

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
# mail
MAIL_HOST=smtp.faker.com
MAIL_USER=email@fake.com
MAIL_PASSWORD=fake123
MAIL_FROM=noreply@example.com

# google cloud and firebase
BUCKET_NAME=faker
GOOGLE_APPLICATION_CREDENTIALS=/usr/src/app/<key.json>

# redis
REDIS_HOST=localhost
REDIS_PORT=30502

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

With Dockerized application

  1. Run docker compose
docker-compose up -d dev

Without Dockerized application

Just run docker compose for the following services

docker-compose up -d mysql_db mongo_db redis_db 

Run the server on development mode

npm run start:dev

About

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages