Skip to content

MTheusRodrigues/Moveit-Premium

Repository files navigation

Index Page

🚧 Application under construction! 🚧

👨‍💻Technologies used

Index Page             Index Page             Index Page             Index Page            

💻 Project information

The system is based on the Pomodoro technique, which consists of activities performed at intervals of 25 minutes. For more information visit the link: 🌐https://pt.wikipedia.org/wiki/T%C3%A9cnica_pomodoro.


⚙️ Functionalities

☑ Home;
☑ Timer;
☑ Experience Bar;
☑ Challenges;
☑ Failed Button - Cancels Challenge and Timer Reset;
☑ Complete Button - Adds Challenge Experience and Timer Reset;
☑ Displays a Modal when user level up;
☑ User data is saved in cookies;

A milha extra...

✅ Routes for using MongoDB as an application database have been added;
✅ A Side Bar has been created;
✅ Navigation between Main page and Rankings;
✅ LogOut button;
✅ Login Page;
✅ Complete Layout;
✅ Login by Github with NextAuth;
✅ Login by Google with NextAuth;
✅ Login by Facebook with NextAuth;
✅ User registered in database (if it does not exist);
✅ Home:
✅ User data is updated;
✅ Rankings Page;
✅ Full Layout - Premium Version;
✅ Ranking with experience levels;

Future Updates...

🔨-Deploy for production;
🔨-Responsive for mobile devices;
🔨-Addition of ranking with three levels (gold, silver and bronze);
🔨-Adding friendships button (add friends);
🔨-Added dark and light theme;


🎨 Layout

Login Page

Home

Modal level up

Rankings Page


🚀How to run the project?

✒️To execute this project it is necessary to install some tools and libraries.

###📑 Requirements

[Git]🌐(https://git-scm.com);br> [Node.js]🌐(https://nodejs.org/en/);
[Yarn]🌐(https://classic.yarnpkg.com/en/docs/install);
Text Editor: [VSCode]🌐(https://code.visualstudio.com/).

⚠️ Environment Variables


⚙️Environment variables are inserted into a file at the root of the project, (src folder), with the name .env.

###Variables for auth app connecting to GitHub:

🔑GITHUB_CLIENT_ID="Provided in the auth app";
🔑GITHUB_CLIENT_SECRET="Provided in the auth app".

#Variables for auth app connecting to Google:

🔑GOOGLE_CLIENT_ID="Provided in the auth app";
🔑GOOGLE_CLIENT_SECRET="Provided in the auth app".

#Variables for auth app connecting to Facebook:

🔑FACEBOOK_CLIENT_ID="Provided in the auth app";
🔑FACEBOOK_CLIENT_SECRET"Provided in the auth app".

#Variables with site base URLs:

🌐NEXTAUTH_URL="Base URL of your site. Ex.: http://localhost:3000 ou https://moveit-premium.vercel.app/".

#A random text string that is used in NextAuth:

🔑AUTH_SECRET="...";
🔑JWT_SECRET="...".

#URL for connection to MongoDB database:

🌐MONGODB_URI="...".

⚙️ To run this system you must perform the following steps:

in your text editor's terminal enter the following commands:

# Clone this repository
$ git clone https://github.com/MTheusRodrigues/Moveit-Premium.git

# Go to the project folder 
$ cd moveit-premium

# Install dependencies
$ yarn install

# Install some necessary tools
$ yarn add mongodb;
$ yarn add @types/mongodb -D;
$ yarn add @vercel/node;
$ yarn add next-auth;
$ yarn add axios;
$ yarn add @fortawesome/free-solid-svg-icons;
$ yarn add @fortawesome/react-fontawesome;
$ yarn add add @fortawesome/fontawesome-svg-core;
$ yarn add typescript @types/react @types/react-dom @types/node -D;
$ yarn add js-cookie;
$ npm i react-router-dom;

# Run the application in development mode
$ yarn dev

# The application will open on the door:3000 - in your browser go to http://localhost:3000

🛠 Technologies

Tools used for system construction:

Website (React + TypeScript)

Go to the package.json file for more information [package.json]🌐(https://github.com/MTheusRodrigues/Moveit-Premium/blob/main/package.json)

Utilities


👨‍🔧 Autor

Matheus Rodrigues
🌟 Matheus Rodrigues 🌟

Linkedin:👨‍💼(https://www.linkedin.com/in/matheus-rodrigues-570759184)
Email:📧(mailto:matheusrmo@outlook.com)


📑 License

MIT.

Matheus Rodrigues 📧 Contact us!


Contributions and References

🚀Rocketseat:https://rocketseat.com.br/;
👨‍💼Guilherme Rocha:https://github.com/grochavieira Linkedin:https://www.linkedin.com/in/grochavieira/;
▶️Serverless com ReactJS e Next.js na Vercel | Code/Drops #54:https://www.youtube.com/watch?v=Cz55Jmhfw84;
▶️AUTENTICAÇÃO COM NEXT-AUTH [PARTE #09]:https://www.youtube.com/watch?v=lINOGJ2a5J4&t=447s;
▶️Adding Authentication to Next.js:https://www.youtube.com/watch?v=3q4BtCzuryY&t=1243s.

About

MoveiPremium NLW 4 Rocketseat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published