You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The project requires [Node.js](https://nodejs.org) and [Backend-GraduateProgram-FullStack-2023](https://github.com/jpcmf/Backend-GraduateProgram-FullStack-2023) to run locally.
12
+
13
+
## :gear: Build setup
14
+
15
+
Welcome! Here's a quick guide to getting started with `SkateHub Frontend`. Let's dive in:
16
+
17
+
### 👣 Step 1: Clone the repository
18
+
19
+
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:
Once the repository is cloned, navigate into the project directory using the cd command in your terminal:
30
+
31
+
```bash
32
+
# navigate to the project directory
33
+
34
+
cd Frontend-GraduateProgram-FullStack-2024
35
+
```
36
+
37
+
### 👣 Step 3: Switch to the develop branch
38
+
39
+
Our development work usually happens in the develop branch. Make sure you're on the right branch by executing the following command:
40
+
41
+
```bash
42
+
# switch to the develop branch
43
+
44
+
git checkout develop
45
+
```
46
+
47
+
### 👣 Step 4: Configure environment variables
48
+
49
+
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.
50
+
51
+
```bash
52
+
# configure environment variables
53
+
54
+
cp .env.example .env.local
55
+
```
56
+
57
+
### 👣 Step 5: Install dependencies
58
+
59
+
Now that you're in the project directory and on the correct branch, it's time to install all the dependencies. Simply run:
6
60
7
61
```bash
62
+
# install dependencies
63
+
npm install
64
+
```
65
+
66
+
### 👣 Step 6: Run the project
67
+
68
+
You're almost there! To start the application in development mode, just type the following command:
69
+
70
+
```bash
71
+
# run at localhost:3000
8
72
npm run dev
9
-
# or
10
-
yarn dev
11
-
# or
12
-
pnpm dev
13
-
# or
14
-
bun dev
15
73
```
16
74
17
-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
75
+
And that's it! Your `SkateHub Frontend` should now be up and running locally on your [machine](http://localhost:3000).
18
76
19
-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
77
+
## :memo: Changelog
20
78
21
-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
79
+
### 2024
22
80
23
-
## Learn More
81
+
- 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)_
82
+
83
+
## :rocket: Next.js documentation
24
84
25
85
To learn more about Next.js, take a look at the following resources:
26
86
@@ -29,8 +89,6 @@ To learn more about Next.js, take a look at the following resources:
29
89
30
90
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
31
91
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.
92
+
---
35
93
36
-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
0 commit comments