NList is a simple Ruby on Rails to-do list WEB application.
With NList you can:
- Maintain as many to-do lists as you want.
- Drag and drop tasks to reorder your to-do lists.
- Clone to-do lists and its tasks.
- Sign in with your Google account.
To run NList locally, execute the following steps:
- Access Google Developers Console and create a new project.
- Create a new OAuth Credential. Setup
Authorized redirect URIswith the valuehttp://localhost:3000/users/auth/google_oauth2/callback. - Rename
.env.development.local-sampleto.env.development.local. - Configure
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRETwith the values provided by your OAuth Credential (Client IDandClient secretrespectivelly). - Set
DATABASE_URLwith your PostgreSQL database address and credentials. - Execute
bundle install. - Execute
rails db:migrate. - Execute
rails server. - Access
http://localhost:3000.
To run the tests execute the following steps:
- Rename
.env.test.local-sampleto.env.test.local. - Set
DATABASE_URLwith your PostgreSQL database address and credentials. - Execute
bundle install. - Execute
rails db:migrate RAILS_ENV=test. - Execute
rspec.
NList is brought you by Willian Gustavo Veiga.