Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

kcparashar/9dots-todo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TodoMVC Project

Complete this project in codesandbox.io. Feel free to add any npm dependencies you deem necessary.

To get started:

  1. Go to codesandbox.io
  2. Sign in with github
  3. Create a new project
  4. Use the import from github feature to import this repository
  5. Add the functionality listed below
  6. When you have finished send the link to: [email protected]

If you have any questions or issues while working on this project you can email [email protected]

Functionality

Add Firebase

Add the firebase dependency in codesandbox. Sign up for a free firebase account. Enable the firestore database and google authentication (check the firebase docs for details). Set up the project to use your firebase project.

Important: Because of codesandbox constantly rebuilding initialize the firebase project in a try catch block!

try {
  // initialize here
} catch (e) {}

Add Authentication

Add a login page that gets rendered if the user is not yet logged in. The user should be able to login using Google. There should also be a way for logged in users to sign out.

Important: Pop open your preview into it's own window for authentication or enable popups on codesandbox.

Store Todos in Database

The project should store all todos in the firestore database. Logged in users should only be able to see their own todos. A user that is logged out should be redirected to the login screen.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.4%
  • HTML 1.6%