Skip to content

Commit f86aec2

Browse files
authored
Merge pull request #30 from jpcmf/develop
Develop to Main
2 parents a8d82e6 + 88f984b commit f86aec2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+10655
-5003
lines changed

.env.example

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
STRAPI_URL=http://localhost:1337
2+
NEXTAUTH_SECRET=<SECRET>
3+
NEXTAUTH_URL=http://localhost:3000
4+
5+
# NODE MAILER
6+
NODEMAILER_REQUEST_SERVER=
7+
NODEMAILER_TRANSPORTER_SERVICE=
8+
NODEMAILER_TRANSPORTER_USER=
9+
NODEMAILER_TRANSPORTER_PASS=
10+
NODEMAILER_OPTIONS_FROM=
11+
NODEMAILER_OPTIONS_TO=

.github/skatehub.svg

Lines changed: 22 additions & 0 deletions
Loading

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ yarn-error.log*
3333
# typescript
3434
*.tsbuildinfo
3535
next-env.d.ts
36+
37+
public/original

README.md

Lines changed: 96 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,107 @@
1-
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).
1+
<h1 align="center">
2+
<img alt="SkateHub" title="SkateHub" src=".github/skatehub.svg" />
3+
</h1>
24

3-
## Getting Started
5+
<p align="center">
6+
<a href="#gear-build-setup">Build setup</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
7+
<a href="#memo-changelog">Changelog</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
8+
<a href="#rocket-nextjs-documentation">Next.js documentation</a>
9+
</p>
410

5-
First, run the development server:
11+
## SkateHub Frontend powered by Next.js
12+
13+
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.
14+
15+
## :gear: Build setup
16+
17+
Welcome! Here's a quick guide to getting started with `SkateHub Frontend`. Let's dive in:
18+
19+
### 👣 Step 1: Clone the repository
20+
21+
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:
22+
23+
```bash
24+
# clone the repository
25+
26+
git clone https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024.git
27+
```
28+
29+
### 👣 Step 2: Navigate to the project directory
30+
31+
Once the repository is cloned, navigate into the project directory using the cd command in your terminal:
32+
33+
```bash
34+
# navigate to the project directory
35+
36+
cd Frontend-GraduateProgram-FullStack-2024
37+
```
38+
39+
### 👣 Step 3: Switch to the develop branch
40+
41+
Our development work usually happens in the develop branch. Make sure you're on the right branch by executing the following command:
42+
43+
```bash
44+
# switch to the develop branch
45+
46+
git checkout develop
47+
```
48+
49+
### 👣 Step 4: Configure environment variables
50+
51+
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.
52+
53+
```bash
54+
# configure environment variables
55+
56+
cp .env.example .env.local
57+
```
58+
59+
### 👣 Step 5: Install dependencies
60+
61+
Now that you're in the project directory and on the correct branch, it's time to install all the dependencies. Simply run:
662

763
```bash
64+
# install dependencies
65+
npm install
66+
```
67+
68+
### 👣 Step 6: Run the project
69+
70+
You're almost there! To start the application in development mode, just type the following command:
71+
72+
```bash
73+
# run at localhost:3000
874
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
1575
```
1676

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

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

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

23-
## Learn More
83+
- 2024-11-06 - Add the `forgot-password` button [#25](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/25) _(v0.1.19)_
84+
- 2024-11-06 - Upgrade libraries [#23](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/23) _(v0.1.18)_
85+
- 2024-11-06 - Create the `reset password` page [#21](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/21) _(v0.1.17)_
86+
- 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)_
87+
- 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)_
88+
- 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)_
89+
- 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)_
90+
- 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)_
91+
- 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)_
92+
- 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)_
93+
- 2024-03-31 - Update `authentication` and `session` management [#11](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/11) _(v0.1.9)_
94+
- 2024-03-29 - Create the `toast` component [#10](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/10) _(v0.1.8)_
95+
- 2024-03-27 - Add the `favicon` of the SkateHub project [#9](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/9) _(v0.1.7)_
96+
- 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)_
97+
- 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)_
98+
- 2024-03-26 - Create the `header` component [#5](https://github.com/jpcmf/Frontend-GraduateProgram-FullStack-2024/pull/5) _(v0.1.4)_
99+
- 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)_
100+
- 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)_
101+
- 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)_
102+
- 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)_
103+
104+
## :rocket: Next.js documentation
24105

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

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

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

32-
## Deploy on Vercel
33-
34-
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.
113+
---
35114

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

0 commit comments

Comments
 (0)