Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
c798d27
docs: Add a quick guide to getting started with the application
jpcmf Mar 20, 2024
7cd4d65
Update changelog 🚀
jpcmf Mar 20, 2024
79782a6
Merge pull request #1 from jpcmf/docs/readme
jpcmf Mar 20, 2024
b5374f0
feat: Add Chakra UI to handle with the user interface
jpcmf Mar 24, 2024
1ee20fb
Update changelog 🚀
jpcmf Mar 24, 2024
1582752
Merge pull request #2 from jpcmf/feat/configure-chakra-ui
jpcmf Mar 24, 2024
fe01b28
feat: Add the sidebar provider and the sidebar components
jpcmf Mar 26, 2024
4a2c7a5
Update changelog 🚀
jpcmf Mar 26, 2024
444ffe2
Merge pull request #3 from jpcmf/feat/create-sidebar-provider
jpcmf Mar 26, 2024
9ab86a5
feat: Create the home page of the SkateHub project
jpcmf Mar 26, 2024
e09dbfd
Update changelog 🚀
jpcmf Mar 26, 2024
10a2cbc
Merge pull request #4 from jpcmf/feat/create-home-page
jpcmf Mar 26, 2024
e3077c8
feat: Create the header component
jpcmf Mar 26, 2024
de7a019
Update changelog 🚀
jpcmf Mar 26, 2024
3c91e44
feat: Add next-auth to handle with authenticantion in next.js
jpcmf Mar 26, 2024
c8eef9c
Merge pull request #5 from jpcmf/feat/create-header-component
jpcmf Mar 26, 2024
f92ebff
docs: Update README
jpcmf Mar 26, 2024
a2f8b56
Merge pull request #6 from jpcmf/docs/readme
jpcmf Mar 26, 2024
e65babb
feat: Create the signin page of the SkateHub project
jpcmf Mar 27, 2024
d17255d
Update changelog 🚀
jpcmf Mar 27, 2024
34241e5
Merge pull request #7 from jpcmf/feat/create-signin-page
jpcmf Mar 27, 2024
6e85df3
feat: Add prettier.config.js to the project
jpcmf Mar 27, 2024
637e1ba
Update changelog 🚀
jpcmf Mar 27, 2024
31095db
Merge pull request #8 from jpcmf/feat/add-prettier-config
jpcmf Mar 27, 2024
8db876b
feat: Add the favicon of the SkateHub project
jpcmf Mar 27, 2024
e9d9949
Update changelog 🚀
jpcmf Mar 27, 2024
19f08b2
Merge pull request #9 from jpcmf/feat/add-favicon
jpcmf Mar 27, 2024
aed1a16
feat: Create the toast component and add to the signin page
jpcmf Mar 30, 2024
b441ace
Update changelog 🚀
jpcmf Mar 30, 2024
c6b1010
Merge pull request #10 from jpcmf/feat/toast-component
jpcmf Mar 30, 2024
22b09f0
feat: Update authentication and session management
jpcmf Mar 31, 2024
6104e6a
Update changelog 🚀
jpcmf Mar 31, 2024
525a26d
Merge pull request #11 from jpcmf/feat/handle-with-authentication-and…
jpcmf Mar 31, 2024
62fe847
feat: Create the signup page of the SkateHub project
jpcmf Apr 2, 2024
de6a393
Update changelog 🚀
jpcmf Apr 3, 2024
5d04f90
Merge pull request #12 from jpcmf/feat/create-signup-page
jpcmf Apr 3, 2024
5d5f396
feat: Update the signup page of the SkateHub project
jpcmf Apr 4, 2024
41314c9
feat: Update the Toast component
jpcmf Apr 4, 2024
b44419a
Merge pull request #13 from jpcmf/feat/create-signup-page-2
jpcmf Apr 4, 2024
811ea6c
feat: Update the signin page of the SkateHub project
jpcmf Apr 6, 2024
e551cfd
feat: Update the auth service
jpcmf Apr 6, 2024
8c4f363
Update changelog 🚀
jpcmf Apr 6, 2024
81f49fc
Merge pull request #14 from jpcmf/feat/create-signin-page-2
jpcmf Apr 6, 2024
a5fe6a6
feat: Create the confirmation page of the SkateHub project
jpcmf Apr 9, 2024
4323dbb
Update changelog 🚀
jpcmf Apr 9, 2024
64ba0bf
Merge pull request #15 from jpcmf/feat/create-confirmation-page
jpcmf Apr 9, 2024
04cc23e
improvement: Adjust the layout of the pages
jpcmf Apr 10, 2024
f61349d
Merge pull request #16 from jpcmf/improvement/layout-defaults
jpcmf Apr 12, 2024
1122883
improvement: Update the signin page of the SkateHub project
jpcmf Apr 12, 2024
45b0893
Update changelog 🚀
jpcmf Apr 12, 2024
02c4d9b
Merge pull request #17 from jpcmf/improvement/update-signin-page
jpcmf Apr 12, 2024
91697ba
feat: Create the forgot-password page of the SkateHub project
jpcmf Apr 12, 2024
251ac47
feat: Update the forgot-password page of the SkateHub project
jpcmf Apr 28, 2024
bfaf1c7
Update changelog 🚀
jpcmf Apr 28, 2024
783aaf7
Merge pull request #18 from jpcmf/feat/forgot-password-page
jpcmf Apr 28, 2024
4323354
improvement: Redirect to the root route when attempting to access /auth
jpcmf Apr 28, 2024
631b87c
Update changelog 🚀
jpcmf Apr 28, 2024
2cb559a
Merge pull request #19 from jpcmf/improvement/redirect-auth-route
jpcmf Apr 28, 2024
f5d3060
improvement: Reset form field after successful fetch
jpcmf Apr 28, 2024
483f4ff
improvement: Redirect to the auth/signin route after 5 seconds
jpcmf Apr 28, 2024
af4079c
Update changelog 🚀
jpcmf Apr 28, 2024
386b7d1
Merge pull request #20 from jpcmf/improvement/forgot-password-page
jpcmf Apr 28, 2024
b83d2f1
feat: Create reset-password page
jpcmf Nov 6, 2024
76e4a0d
feat: Create password confirmation validation
jpcmf Nov 6, 2024
754045a
Merge pull request #21 from jpcmf/feat/reset-password-page
jpcmf Nov 6, 2024
7d41eaf
Update changelog 🚀
jpcmf Nov 6, 2024
bda584b
Merge pull request #22 from jpcmf/feat/reset-password-page
jpcmf Nov 6, 2024
e17202a
feat: Update libraries
jpcmf Nov 6, 2024
6595e60
Update changelog 🚀
jpcmf Nov 6, 2024
9eeb452
Merge pull request #23 from jpcmf/feat/update-libs
jpcmf Nov 6, 2024
3bb2d33
feat: Minify images
jpcmf Nov 6, 2024
a2a83db
Merge pull request #24 from jpcmf/feat/minify-images
jpcmf Nov 6, 2024
c4af7ad
feat: Add the forgot password button
jpcmf Nov 6, 2024
d21b473
Update changelog 🚀
jpcmf Nov 6, 2024
5ca28f0
Merge pull request #25 from jpcmf/feat/forgot-password-button
jpcmf Nov 6, 2024
17e4177
feat: Update the user avatar
jpcmf Nov 8, 2024
bef4ea7
Merge pull request #26 from jpcmf/feat/user-avatar
jpcmf Nov 8, 2024
d94660b
feat: Update the nav link component
jpcmf Nov 8, 2024
9f8de24
Merge pull request #27 from jpcmf/feat/navlink-component
jpcmf Nov 8, 2024
6391ee3
feat: Update the skatehub logo size
jpcmf Nov 8, 2024
c929c78
Merge pull request #28 from jpcmf/feat/logo-skatehub
jpcmf Nov 8, 2024
e52644e
feat: Update the skatehub logo size
jpcmf Nov 8, 2024
88f984b
Merge pull request #29 from jpcmf/feat/logo-skatehub
jpcmf Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
STRAPI_URL=http://localhost:1337
NEXTAUTH_SECRET=<SECRET>
NEXTAUTH_URL=http://localhost:3000

# NODE MAILER
NODEMAILER_REQUEST_SERVER=
NODEMAILER_TRANSPORTER_SERVICE=
NODEMAILER_TRANSPORTER_USER=
NODEMAILER_TRANSPORTER_PASS=
NODEMAILER_OPTIONS_FROM=
NODEMAILER_OPTIONS_TO=
22 changes: 22 additions & 0 deletions .github/skatehub.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

public/original
113 changes: 96 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,107 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
<h1 align="center">
<img alt="SkateHub" title="SkateHub" src=".github/skatehub.svg" />
</h1>

## Getting Started
<p align="center">
<a href="#gear-build-setup">Build setup</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
<a href="#memo-changelog">Changelog</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
<a href="#rocket-nextjs-documentation">Next.js documentation</a>
</p>

First, run the development server:
## SkateHub Frontend powered by Next.js

The project requires [Next.js](https://nextjs.org), [Node.js](https://nodejs.org) and [Backend-GraduateProgram-FullStack-2023](https://github.com/jpcmf/Backend-GraduateProgram-FullStack-2023) to run locally.

## :gear: Build setup

Welcome! Here's a quick guide to getting started with `SkateHub Frontend`. Let's dive in:

### 👣 Step 1: Clone the repository

First things first, let's clone the repository onto your local machine. If you're not sure how to do this, no worries! Here's a simple command you can run in your terminal:

```bash
# clone the repository

git clone https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024.git
```

### 👣 Step 2: Navigate to the project directory

Once the repository is cloned, navigate into the project directory using the cd command in your terminal:

```bash
# navigate to the project directory

cd Frontend-GraduateProgram-FullStack-2024
```

### 👣 Step 3: Switch to the develop branch

Our development work usually happens in the develop branch. Make sure you're on the right branch by executing the following command:

```bash
# switch to the develop branch

git checkout develop
```

### 👣 Step 4: Configure environment variables

Before running the project, you'll need to configure the environment variables. This typically involves setting up database credentials and other configurations. Locate the `.env.example` file in the project root directory, and create a new file named `.env` with your configurations. You may need to consult the project documentation for the required variables.

```bash
# configure environment variables

cp .env.example .env.local
```

### 👣 Step 5: Install dependencies

Now that you're in the project directory and on the correct branch, it's time to install all the dependencies. Simply run:

```bash
# install dependencies
npm install
```

### 👣 Step 6: Run the project

You're almost there! To start the application in development mode, just type the following command:

```bash
# run at localhost:3000
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
And that's it! Your `SkateHub Frontend` should now be up and running locally on your [machine](http://localhost:3000).

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## :memo: Changelog

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
### 2024

## Learn More
- 2024-11-06 - Add the `forgot-password` button [#25](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/25) _(v0.1.19)_
- 2024-11-06 - Upgrade libraries [#23](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/23) _(v0.1.18)_
- 2024-11-06 - Create the `reset password` page [#21](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/21) _(v0.1.17)_
- 2024-04-28 - Update the `forgot-password` page of the SkateHub project [#20](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/20) _(v0.1.16)_
- 2024-04-28 - Redirect to the root route when attempting to access /auth [#19](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/19) _(v0.1.15)_
- 2024-04-28 - Create the `forgot-password` page of the SkateHub project [#18](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/18) _(v0.1.14)_
- 2024-04-11 - Update the `signin` page of the SkateHub project [#17](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/17) _(v0.1.13)_
- 2024-04-08 - Create the `confirmation` page of the SkateHub project [#15](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/15) _(v0.1.12)_
- 2024-04-06 - Update the `signin` page of the SkateHub project [#14](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/14) _(v0.1.11)_
- 2024-04-03 - Create the `signup` page of the SkateHub project [#12](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/12) _(v0.1.10)_
- 2024-03-31 - Update `authentication` and `session` management [#11](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/11) _(v0.1.9)_
- 2024-03-29 - Create the `toast` component [#10](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/10) _(v0.1.8)_
- 2024-03-27 - Add the `favicon` of the SkateHub project [#9](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/9) _(v0.1.7)_
- 2024-03-27 - Add the `prettier.config.js` file to the project to handle with code formatter [#8](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/8) _(v0.1.6)_
- 2024-03-27 - Create the `signin` page of the SkateHub project [#7](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/7) _(v0.1.5)_
- 2024-03-26 - Create the `header` component [#5](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/5) _(v0.1.4)_
- 2024-03-26 - Create the `home` page of the SkateHub project [#4](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/4) _(v0.1.3)_
- 2024-03-26 - Create the `sidebar` provider and components to handle with the aside menu [#3](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/3) _(v0.1.2)_
- 2024-03-24 - Add [Chakra UI](https://chakra-ui.com/) to handle with the user interface [#2](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/2) _(v0.1.1)_
- 2024-03-19 - Add a quick guide to getting started with the application [#1](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/1) _(v0.1.0)_

## :rocket: Next.js documentation

To learn more about Next.js, take a look at the following resources:

Expand All @@ -29,8 +110,6 @@ To learn more about Next.js, take a look at the following resources:

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
---

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
Made with 💙 by João Paulo Fricks
Loading