Skip to content

Latest commit

 

History

History
94 lines (82 loc) · 3.7 KB

README.md

File metadata and controls

94 lines (82 loc) · 3.7 KB

Schedule Appointment Challenge

Week view of day available slots and form to booking.

UI

API

Tech Stack Frontend:

Tech Stack Backend:

Requirements to run:

  • NPM
  • Angular CLI
  • .Net Core CLI
  • C# 7
  • .Net Core 2

Run Demo:

  1. Run frontend:
    • Open command prompt and go to root folder: src\ScheduleAppointment.UI\ClientApp
    • npm install
    • npm start
    • Started in: http://localhost:4201/
  2. Run backend:
    • Open new command prompt and go to root folder: src\ScheduleAppointment.API
    • dotnet restore
    • dotnet run
    • Started in http://localhost:50821/
  3. Open browser and navigate to http://localhost:4201/
  4. Done!

If you have problems with local port permissions, you can change configuration ports used in:

  • UI: src\ScheduleAppointment.UI\ClientApp\package.json
  • API: src\ScheduleAppointment.API\Properties\launchSettings.json
  • Communication UI 2 API: src\ScheduleAppointment.UI\ClientApp\src\app\app.globals.ts

You also can run API and UI using Visual Studio 2017 and F5 or Ctrl+F5 to both projects

ToDos:
* Tests in frontend with Jasmine || Mocha & Karma.
* Handle client exceptions and show frindly user error message.
* Organize available slots with segments of hours in all days.
* Extract API configuration consts to appSettings.json