Skip to content

gabrielbahniuk/aircnc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published