https://github.com/kanzitelli/nodejs-todos-firebase-docker
Assignment#5. CS612. SPRING 2017. Pace University
https://github.com/kanzitelli/nodejs-todos-firebase-docker
docker expressjs firebase nodejs react-native todolist
Last synced: 3 months ago
JSON representation
Assignment#5. CS612. SPRING 2017. Pace University
- Host: GitHub
- URL: https://github.com/kanzitelli/nodejs-todos-firebase-docker
- Owner: kanzitelli
- Created: 2017-04-24T04:17:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-28T22:34:56.000Z (about 9 years ago)
- Last Synced: 2025-04-01T22:57:41.790Z (about 1 year ago)
- Topics: docker, expressjs, firebase, nodejs, react-native, todolist
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todo-list app
`todo-list app` is a RESTful web service that runs in docker container.
[Presentation link](https://docs.google.com/presentation/d/1DxLB03urxXP9DB9vwteOqBaM_5p5vGuUSDMyHv7_Fyg/edit?usp=sharing)
# Stack of technologies
NodeJS (express.js) + Docker + Firebase + React Native
# Installation
1. Type in CMD to clone this app: `git clone https://github.com/kanzitelli/nodejs-todos-firebase-docker.git`
2. Install node modules: `cd nodejs-todos-firebase-docker && npm i`
3. Build a docker image: `docker build -t nodejs-todos-firebase-docker .` (do not forget about `.` in the end of the command)
4. Check if a docker image was created: `docker images`
5. Run a docker container: `docker run -p 49160:80 -d nodejs-todos-firebase-docker`
6. Make sure that created container is running: `docker ps`
7. Check if our web-app is running: `curl -i localhost:49160/todos`
# Usage
This app was deployed to Docker Cloud in order to create a React Native app that is going to be a front-end part of this project. If you would like to check if it is running, go to [this site](http://lb.nodejsappstack.13d9f42b.svc.dockerapp.io/todos) and it will display all todos in JSON format.

This is how data looks like in Firebase.

Code for the React Native app is located [here](https://snack.expo.io/Bysp66s0l).
