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 URIs
with the valuehttp://localhost:3000/users/auth/google_oauth2/callback
. - Rename
.env.development.local-sample
to.env.development.local
. - Configure
GOOGLE_CLIENT_ID
andGOOGLE_CLIENT_SECRET
with the values provided by your OAuth Credential (Client ID
andClient secret
respectivelly). - Set
DATABASE_URL
with 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-sample
to.env.test.local
. - Set
DATABASE_URL
with 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.