GithubHelp home page GithubHelp logo

demo-todo's Introduction

Simple todo list project

To start the project you will need Docker and docker-compose we recommend you use linux although it is not necessary.

First build with docker by navigating to the root directory of the project and running.

sudo docker-compose build

Now run the application.

sudo docker-compose up

This will start containers for mongodb, frontend and backend.

This application frontend if accessible at http://localhost:8000/ and the backend at http://localhost:8001/

To stop the app press Ctrl + C and wait for all the containers to stop.+

If you don't want to use sudo

Source: https://docs.docker.com/engine/install/linux-postinstall/

sudo groupadd docker
sudo usermod -aG docker $USER

IMPORTANT: How install extra dependencies:

Is important that you install all dependencies inside the running docker containers, do not install from the host, this can cause problems with node_module compatibility.

To run commands in a container paste the following in a terminal and make sure the containers are running.

docker exec -it demo-todo-frontend sh

# or

docker exec -it demo-todo-backend sh

To exit the container press Ctrl + D

Useful links

https://expressjs.com/

https://nextjs.org/

https://reactjs.org/

https://www.mongodb.com/docs/drivers/node/current/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.