- Notifications
You must be signed in to change notification settings - Fork233
Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.
License
mmacneil/AngularASPNETCore2WebApiAuth
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Sample project based onthe blog post demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.
- Sql Server Express 2017 & Sql Server Management Studio 2017
- Runs in both Visual Studio 2017 & Visual Studio Code
- Node 8.9.4 & NPM 5.6.0
- .NET Core 2.0 sdk
- Angular CLI ->
npm install -g @angular/clihttps://github.com/angular/angular-cli
To build and run the project using the command line:
- Install npm packages with
src>npm installin thesrcdirectory. - Restore nuget packages with
src>dotnet restorein thesrcdirectory. - Create the database with
src>dotnet ef database updatein thesrcdirectory. - Run the project with
src>dotnet runin thesrcdirectory. - Point your browser tohttp://localhost:5000.
Of course, you can also run it from either Visual Studio 2017 or Visual Studio Code with the IDE handling most of the steps above. If you have issues, try running the above steps from the command line to ensure things are setup properly.
You're free to use the demo facebook appFullstack Cafe that the project is already configured with. To setup and use your own applicationfollow the steps detailed on the post.
About
Sample project demonstrating jwt-based authentication with an Angular (v5.2.1) frontend and ASP.NET Core 2 WebApi. Includes both local user registration with .NET Core Identity membership and facebook login scenarios.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.

