Skip to content

Todo List App using a JsonApiDotNetCore API and an EmberJs client.

Notifications You must be signed in to change notification settings

json-api-dotnet/TodoListExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JsonApiDotNetCore Todo List Example

Demo application for JsonApiDotNetCore using Ember.js.

Back in 2017, Jared Nance did an excellent video series in which he built this demo:

Usage

Start the database

The app requires running postgres instance with credentials specified in appsettings.json. One way to do this is run the database in a Docker container:

docker run --name TodoListSampleDb \
    -e POSTGRES_USER=postgres \
    -e POSTGRES_PASSWORD=postgres \
    -e POSTGRES_DB=TodoList \
    -p 5432:5432 \
    -d postgres

Starting the API

  • Switch directory
    • cd TodoListAPI
  • Set the environment to development (mac)
    • export ASPNETCORE_ENVIRONMENT=development
  • Start the server
    • dotnet run

Starting the Client

In case you haven't watched the videos: the default username/password is guest/Guest1!.

Running Client Tests

  • ember test
  • ember test --server

Updating to the latest version of Ember

Usually the following commands are sufficient

  • npm install -g ember-cli-update
  • ember-cli-update
  • ember-cli-update --run-codemods
  • yarn install

Testing if everything still works

About

Todo List App using a JsonApiDotNetCore API and an EmberJs client.

Topics

Resources

Stars

Watchers

Forks

Contributors