This project is a simple but powerful web application to manage to-dos.
- Lightweight and fast.
- Supports for two authentication factor.
- Allows you to attach files in to-dos.
- Allows you to specify due date and time in your to-dos.
- A Windows OS
- .NET Core 2.2 or superior
- SQL Server Express 2016 or superior
- A SendGrid account
- (Optional) Google, Facebook, Twitter, Microsoft API keys.
1 - Clone this project running git clone https://github.com/amoraitis/TodoList.git
in your terminal. If you haven't git installed can simply download it and unzip it.
2 - Add your Sendgrid API Key by running dotnet user-secrets set "SendGrid:ServiceApiKey" "your_secret_key"
.
3 - Go to the TodoList/TodoList.Web
folder by running the command cd TodoList/TodoList.Web
or manually navigating into the file system.
4 - Run the command dotnet restore
to install all the dependencies.
5 - Run the command dotnet build
to compile the project.
6 - Run the command dotnet run
to start serving the project.
7 - That it's, your application is running in http://localhost:47818
.
If you want to allow your users to login with their social accounts, e.g. Facebook, follow instructions below.
1 - Follow this guide to generate AppID and AppSecret.
2 - Execute the following instructions from TodoList/TodoList.Web
:
dotnet user-secrets set Authentication:Facebook:AppId <app-id>
dotnet user-secrets set Authentication:Facebook:AppSecret <app-secret>
1 - Follow this guide to generate ClientID and ClientSecret.
2 - Execute the following instructions from TodoList/TodoList.Web
:
dotnet user-secrets set Authentication:Google:ClientId <client-id>
dotnet user-secrets set Authentication:Google:ClientSecret <client-secret>
1 - Follow this guide to generate ClientID and ClientSecret.
2 - Execute the following instructions from TodoList/TodoList.Web
:
dotnet user-secrets set Authentication:Microsoft:ClientId <client-id>
dotnet user-secrets set Authentication:Microsoft:ClientSecret <client-secret>
1 - Follow this guide to generate App ID and AppSecret.
2 - Execute the following instructions from TodoList/TodoList.Web
:
dotnet user-secrets set Authentication:Twitter:ConsumerKey <consumer-key>
dotnet user-secrets set Authentication:Twitter:ConsumerSecret <consumer-secret>
TodoList is open-source software licensed under the MIT license.