Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/velascoandres/oh-backend
- Owner: velascoandres
- Created: 2020-08-13T20:07:22.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T10:11:41.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T19:27:58.134Z (7 months ago)
- Topics: api-rest, firebase, mongodb, nestjs, property, real-world, typescript
- Language: TypeScript
- Homepage:
- Size: 840 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
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_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
```