LuizFelipe16 / codeleap-app

Code test made by the company CodeLeap, to create a web application based on a basic layout, following the required functionality. The app is very simple and works as a small social network (network) for people to enter and create posts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Banner


CodeLeap Network

Code test made by the company CodeLeap, to create a web application based on a basic layout, following the required functionality.

The app is very simple and works as a small social network (network) for people to enter and create posts.



PyPi license Badge Badge GitHub release



πŸ›  Technologies

The following tools were used in building the project:


πŸ€– Project Status πŸš€ Complete! πŸ€–
Access at the address: https://codeleap-chi.vercel.app


Getting Started

These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.

The project can be built with npm or yarn, so choose one of the approach bellow in case you don't have any installed on your system.

  • Npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. Node.js

  • Yarn is a package manager built by Facebook Team and seems to be faster than npm in general.


Features


  • βœ… Sing in with email and password;
  • βœ… Registration of a user, password encryption with Bcrypt;
  • βœ… Verification of an existing user;
  • βœ… FaunaDB database connection;
  • βœ… User authentication and jwt token generation;
  • βœ… Update user data with password confirmation;
  • βœ… Implementation of automatic redirect if user is "Logged in" (with username) via withSSRGuest;
  • βœ… Implementation of automatic redirect if user is not "Logged in" (with username) via withSSRAuth;
  • βœ… Toast notification for user;
  • βœ… Loading screen for the data request to happen;
  • βœ… Input animations for elements;
  • βœ… Save user username in cookies;
  • βœ… Data caching with react query;
  • βœ… Scroll to go back to top;
  • βœ… http requests with axios to django api;
  • βœ… List of posts;
  • βœ… Form Validation with Yup;
  • βœ… Form control with React Hook Form;
  • βœ… Date formatting with date-fns;
  • βœ… Deleting a post;
  • βœ… Editing a post;
  • βœ… Post pagination;
  • βœ… User choose the amount of posts they want to see per page;
  • βœ… Adding Unit Tests with Jest and Testing Library;
  • βœ… Using Context API to control user methods and data;
  • βœ… Interface developed with system Chakra UI and Radix UI design;
  • βœ… Responsiveness with mobile devices;
  • βœ… Modern design;
  • βœ… Deploy in Vercel.

How to Install

  • To download the project follow the instructions bellow:
1. git clone
2. cd codeleap-app
  • Install the dependencies and start:
3. yarn
4. yarn dev
  • or
3. npm install
4. npm run dev
  • Have fun just like me while programming

Screen Shots


  • Sign in

ScreenShot


  • Sign up

ScreenShot


  • Network

ScreenShot


  • Network

ScreenShot


  • Modal Delete

ScreenShot


  • Modal Edit

ScreenShot


  • Account

ScreenShot


  • Modal Confirm Account

ScreenShot



Author

Luiz Felipe S. Felizatti 🎯

Contact:

About

Code test made by the company CodeLeap, to create a web application based on a basic layout, following the required functionality. The app is very simple and works as a small social network (network) for people to enter and create posts.


Languages

Language:TypeScript 97.2%Language:SCSS 1.5%Language:JavaScript 1.3%