- AJAX (AXIOS with async/await and try/catch/finally)
- SASS (Modules)
- Testing: Jest
- Server: Node.js, Express
- DB: MongoDB
- Create an accaunt;
- Log in / Log out;
- Add posts (title, image, tags, taxt);
- Comment posts;
- See number of views;
- Sort posts by popular;
- See posts with particular tags.
Development process I started with creating a server using Node.js, Express, Mongoose and MongoDB.
After creating the main CRUD methods I started to create a Client by adding HTML and styles to the app.
To keep track of the global state I chose Redux Toolkit.
To add authorization and authentification functionality in to the app I decided to use JWT.
After the token generates by the server I save the token in the local storage, which allows the app to get a logged-in user by sending an auth-me request to the server even after refreshing the app.