Skip to content

seniordev555/node-angular-crud-app

Repository files navigation

CalorieApp

A web application that allows users to keep track of their meals, including a description and the calorie amount for each meal. This is built by Angular 2 and Node.js.

Backend:

  • Node.js
  • Express.js
  • MongoDB
  • Passport-JWT

Frontend:

  • Angular 2 (Angular CLI)

Prerequisites

You will need the following resources properly installed on your computer.

Getting Started

# Install the dependencies
$ npm install

Run the backend API

$ npm run server

By default, you can visit the API in your web browser at http://localhost:8000

You can run the server with seed data. (The database will be initialized with test data.)

$ npm run server:seed

The API tests live in the /test directory. The test cases are written using Mocha and Chai.

$ npm run test:server

Run the frontend

$ npm start

Now you can access the frontend by visiting http://localhost:4200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published