Giter VIP home page Giter VIP logo

m3-alcamech's Introduction

m3-Alcamech todoapp

Simple todoapp to practice and learn Model–View–Controller (MVC) software architectural pattern, Basic CRUD functionality ( Create, Read, Update, Delete ) and REST API.

  • Back-End made with NodeJS, ExpressJS and MongoDB (with Mongoose and Bluebird)
  • Front-End made with Angular 4, bootstrap, ng-boostrap, font-awesome (icons)

Architecture (todoapp-api)

  • Data — This Layer is the MongoDB Models or Mongoose Models
  • Services — This layer is going to execute atomic CRUD operations on the models
  • Controller — This Layer is going to control the request body parsing, validating, checking , responding and Error returning actions.
  • API — This layer is a very simple mapping layer. Where specific api endpoints will be mapped to the Controller Functions.

Database Setup

Download and install MongoDB. Make sure that the database is running at 127.0.0.1:27017

Run sudo mongod to start the database service

Project Setup

Now run cd todoapp-api to go inside the back-end directory

Run npm install to install all the dependencies.

Run npm install -g nodemon to install Nodemon Globally.

Run npm start to run the NodeJS Server.

Now run cd todoapp-angular to go inside the front-end directory

Run npm install to install all the dependencies.

Run ng serve to run the NG Development Server.

Go to http://localhost:4200

Acknowledgements

m3-alcamech's People

Contributors

alcamech avatar tbhall avatar

Watchers

 avatar

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.