gabrielbahniuk / aircnc

Offer spots for developers who can work on the same place with the same stack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirCnC - Coffe & Code

Offer spots for developers to work together with the same stack in your company.

ℹ️ How To Use

Server

❗ A running MongoDB is pre-requisite, unless you use docker-compose, which is already embeded.
$ cd backend

# set required environment variables.
# NOTE: change the values after = to match your environment.

$ echo 'MONGO_URL=mongodb://aircnc-db-container:27017/admin' >> .env
$ echo 'API_EXTERNAL_URL=http://192.168.0.230:10334' >> .env
$ echo 'APP_PORT=3333' >> .env

# install dependencies
$ npm install

# Run server
$ npm start
...or run it with Docker 🐳
$ cd backend

$ docker-compose up --build -d && docker logs --follow aircnc-api-container

Web

$ cd frontend

# install dependencies
$ yarn

# Run application
$ yarn start

Mobile

$ cd mobile

# install dependencies
$ yarn

# Connect your mobile device or emulator and run application with Expo
$ npm -i expo-cli -g && expo start
Check within .env files under mobile and frontend whether the API addresses are correct.

Demo

About

Offer spots for developers who can work on the same place with the same stack.


Languages

Language:JavaScript 88.6%Language:CSS 10.0%Language:HTML 1.1%Language:Shell 0.3%