This is a web based solution for simulating the usage of flashcards when learning a language. The first stage will be to get all very basic and simple funcionality in.
This is an aspnet core application consisting of two main parts:
- An api implemented with .NET CORE
- A web app written in Angular (managed by Angular CLI, embeded inside a .net Class library project)
- Both the Angular CLI and Angular 2 itself have dependencies that require Node 4 or higher, together with NPM 3 or higher.
- Angular CLI:
npm install -g angular-cli
- .NET Core
- Open Visual studio -> Tools -> Nuget package manager -> Nuget package manager console
- Run the following command: Update-Database
- Add your own sample data (will add seed later)
- Open the solution in Visual studio 2015
- Make sure the Flashcards.Api set as startup project
- Press f5 to Run
- Open a temrinal and cd into the /src/Flashcards.Web
- Install npm packages:
npm install
- Run the npm start command:
npm start
- Open a temrinal and cd into the /src/Flashcards.Web
- Install npm packages:
npm install
- Run the angular cli build command:
ng build
- Generated files will be placed in Flashcards.Api/wwwroot folder
- Run solution as normal from Visual Studio (f5)