It allows you to chat with your friends using only GIFs.
-
Create a Node Server
- Create model to Validate users with joi
- Get a clean MongoDB connection for carry our users
- Add
/auth/register
router - Add
/auth/login
router - Create token to in login page
- Control token in every page and if it doesn't exist send to login page.
- Check the token and if token ok set user to
req.user
- Check the token and if defined redirect dashboard
-
Setup a Vue app for front-end
- Create a Vue.js app
- Add a login page
- Save the token to local storage
- Set visitors only see the home/login/register pages
- Add a dashboard page
- Install the Vuex for carry is logged in state
- Fix the bad styles for basic UX
- ...
- Kaan Ersoy / Github
- Loading icon : loading.io