Simple app for storing and searching contacts.
wbvtler / contact-keeper Goto Github PK
View Code? Open in Web Editor NEWMERN stack contact application
MERN stack contact application
Simple app for storing and searching contacts.
Implement auth state and context for persistent login
Add signup and login pages
Connect user authentication to db
Customize navbar for user vs guest (signin,/signup for guest, logout for user)
Hide home page from guests
Set up router
Create navbar component
create about and home pages
create routes to home and about
Create contact CRUD form with ability to:
Add functionality to create new contact, update contact and delete contact in the database.
Create search bar that filters contacts as you type
Add transition animations to contact cards being added or removed from the list
Create context/contact
folder w/ files to manage contact context, reducer and state
Create and populate types file
Bring contact state into main app file
Create ContactItem component and display contacts on home page
Outline initial routes as follows:
Users:
Auth:
Contacts:
Create mongo atlas project, cluster and user
NPM init and bring in node dependencies
Connect Add Contact, Update Contact, Get Contacts and Delete Contact to mongoDB.
Return token on login using jsonwebtoken
Connect contacts to DB
Require token to access non-login endpoints
Send signed json web token in response to new user signup instead of naked user object.
Use POST
to /api/users
to register a new user with a name, email and password
Use checks to prevent duplicate signups, empty names, invalid email addresses or sub-6 character passwords.
Salt and hash password
Store new user in MongoDB
Create production branch and deploy to Heroku
Bring in React frontend w/ create-react-app
Bring in Concurrently to run both api and client
Remove and clean up unused and pre-populated files
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.