Skip to content

Commit b06e604

Browse files
FEATURE (ssr): Migrate to NextJS
1 parent e1057bb commit b06e604

File tree

89 files changed

+10274
-6413
lines changed

Some content is hidden

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

89 files changed

+10274
-6413
lines changed

.gitignore

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,41 @@
1-
backend/
2-
frontend/
3-
.env
4-
pgdata/
5-
docker-compose.yml
6-
postgresus-data/
7-
node_modules/
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts

.prettierrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

404.html

Lines changed: 0 additions & 237 deletions
This file was deleted.

README.md

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,36 @@
1-
# Postgresus Website
1+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
22

3-
## CSS Development Workflow
3+
## Getting Started
44

5-
This project uses TailwindCSS. **You must build CSS before committing.**
6-
7-
### Setup (one time)
5+
First, run the development server:
86

97
```bash
10-
npm install
8+
npm run dev
9+
# or
10+
yarn dev
11+
# or
12+
pnpm dev
13+
# or
14+
bun dev
1115
```
1216

13-
### Development Process
17+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1418

15-
1. **Make changes** to `index.html` or other HTML files
16-
2. **Build CSS** before committing:
17-
```bash
18-
npm run build-css
19-
```
20-
3. **Commit both files**:
21-
```bash
22-
git add .
23-
git commit -m "Your changes"
24-
git push
25-
```
19+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
2620

27-
### For Active Development
21+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
2822

29-
```bash
30-
# Watch for changes (rebuilds automatically)
31-
npm run watch-css
32-
```
23+
## Learn More
24+
25+
To learn more about Next.js, take a look at the following resources:
26+
27+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29+
30+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
3331

34-
### Important Files
32+
## Deploy on Vercel
3533

36-
- `src/input.css` - Source CSS (edit this)
37-
- `styles.min.css` - Generated CSS (don't edit manually)
38-
- `index.html` - Uses the generated CSS
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.
3935

40-
**Always run `npm run build-css` before pushing to GitHub!**
36+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.

0 commit comments

Comments
 (0)