Skip to content

Commit b1e9c19

Browse files
committed
Initialised project from scratch
1 parent d899c2d commit b1e9c19

35 files changed

+516
-8820
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "next/core-web-vitals"
3+
}

.gitignore

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
**/node_modules
5-
**/.pnp
6-
**/.pnp.js
4+
/node_modules
5+
/.pnp
6+
.pnp.js
77

88
# testing
9-
**/coverage
9+
/coverage
1010

1111
# next.js
12-
**/.next/
13-
**/out/
12+
/.next/
13+
/out/
1414

1515
# production
16-
**/build
16+
/build
1717

1818
# misc
19-
**/.DS_Store
20-
**.pem
19+
.DS_Store
20+
*.pem
2121

2222
# debug
23-
**/npm-debug.log*
24-
**/yarn-debug.log*
25-
**/yarn-error.log*
26-
**/.pnpm-debug.log*
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
2727

2828
# local env files
29-
**/.env*.local
29+
.env*.local
3030

3131
# vercel
32-
**/.vercel
32+
.vercel
3333

3434
# typescript
35-
**/*.tsbuildinfo
35+
*.tsbuildinfo

.prettierrc

-4
This file was deleted.

.vscode/extensions.json

-3
This file was deleted.

.vscode/settings.json

-3
This file was deleted.

README.md

+20-28
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,34 @@
1-
# Learning Platform
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).
22

3-
A place for the CSESoc community to learn and share their knowledge and expertise.
3+
## Getting Started
44

5-
> 🌈 **Status update:**<br> Currently adding MDX support via @next-mdx-remote! Rationale [here](https://compclub.atlassian.net/wiki/spaces/CW/pages/2217771174/Decision+Matrix%3A+MDX+Integration).
5+
First, run the development server:
66

7-
## Motivation
7+
```bash
8+
npm run dev
9+
# or
10+
yarn dev
11+
```
812

9-
At CSESoc, CSE students gather to socialise and extend their technical knowledge outside the classroom. Educational content has previously been delivered via workshops. However, this limits people who're uncomfortable with holding workshops, or want to contribute on a smaller scale, from contributing. Having a platform where students of various backgrounds can contribute to the collective knowledge of their community is critical to its success. Hence, the CSESoc Learning Platform!
13+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1014

11-
By opening up new formats of contributing such as **articles**, **videos** and **sample projects**, we hope that this empowers more people to share what they've learned with the wider CSE community.
15+
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
1216

13-
## Code style
17+
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
1418

15-
Prettier is used for code formatting.
19+
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
1620

17-
## Screenshots
21+
## Learn More
1822

19-
Check the [Figma canvas](https://www.figma.com/file/BikvnEQenQQnuDw8YVH07b/Learning-Platform---Mockups?node-id=120%3A2) out! The design may change.
23+
To learn more about Next.js, take a look at the following resources:
2024

21-
## Tech stack
25+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
2227

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

25-
## Features
30+
## Deploy on Vercel
2631

27-
_Coming soon_
32+
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.
2833

29-
## Installation
30-
31-
1. Clone this repo
32-
2. `yarn install` to install all dependencies
33-
3. `yarn dev` to start the local server
34-
35-
## Our team
36-
37-
We're CSESoc Education! Development is currently led by:
38-
39-
- [Maxwell Phillips](https://github.com/maxphillipsdev)
40-
- [Jeffrey Yao](https://github.com/jeffreydyao)
41-
- [Gordon Huang](https://github.com/dqna64)
42-
- [Jasper Di Francesco](https://github.com/jasperdifran)
34+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
File renamed without changes.
File renamed without changes.

package.json

+17-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
{
2-
"private": true,
32
"name": "learning-platform",
4-
"workspaces": [
5-
"packages/*"
6-
],
3+
"version": "0.1.0",
4+
"private": true,
75
"scripts": {
8-
"dev": "yarn workspace web run dev",
9-
"clean": "rm -rf node_modules && rm -rf packages/web/node_modules"
6+
"dev": "next dev",
7+
"build": "next build",
8+
"start": "next start",
9+
"lint": "next lint"
10+
},
11+
"dependencies": {
12+
"next": "12.1.6",
13+
"react": "18.1.0",
14+
"react-dom": "18.1.0"
1015
},
11-
"dependencies": {},
1216
"devDependencies": {
13-
"prettier": "^2.6.2",
14-
"prettier-plugin-tailwindcss": "^0.1.8",
15-
"typescript": "^4.6.3"
17+
"@types/node": "17.0.31",
18+
"@types/react": "18.0.9",
19+
"@types/react-dom": "18.0.3",
20+
"eslint": "8.15.0",
21+
"eslint-config-next": "12.1.6",
22+
"typescript": "4.6.4"
1623
}
1724
}

packages/web/.eslintrc.json

-3
This file was deleted.

packages/web/README.md

-34
This file was deleted.

packages/web/components/Logo.tsx

-8
This file was deleted.

packages/web/components/Navigation.tsx

-35
This file was deleted.

packages/web/package.json

-40
This file was deleted.

packages/web/pages/_app.tsx

-15
This file was deleted.

packages/web/pages/articles.tsx

-44
This file was deleted.

packages/web/pages/index.tsx

-19
This file was deleted.

packages/web/postcss.config.js

-6
This file was deleted.

packages/web/public/scene.bin

-3.74 MB
Binary file not shown.

0 commit comments

Comments
 (0)