API using Express
, Mongoose
, Node
and Firebase Auth
based on Airbnb.
First copy .env.example
to .env
and modify the environment variables with your credentials.
$ cp .env.example .env
DEBUG=airbnb:*
PORT=3000
MONGO_URI=mongodb://localhost/airbnb
FIREBASE_APIKEY=secret
FIREBASE_AUTHDOMAIN=secret
FIREBASE_DATABASEURL=secret
FIREBASE_STORAGEBUCKET=secret
FIREBASE_MESSAGINGSENDERID=secret
# Install dependencies
$ yarn # Yarn
$ npm i # Npm
# Start serve
$ yarn dev # Yarn
$ npm run dev # Npm
For any feedback contact me [email protected]
.
Created with love and other things ❤️