CoastalCommitsPastes/client
2022-03-21 17:42:37 -07:00
..
components post generation rework with static paths/props 2022-03-21 17:20:41 -07:00
lib post generation rework with static paths/props 2022-03-21 17:20:41 -07:00
pages Add usage of SECRET_KEY to secure API routes 2022-03-21 17:42:37 -07:00
public client: move images to assets/, improve new post on mobile 2022-03-12 15:51:31 -08:00
styles sort your posts by time, style improvements 2022-03-09 01:33:22 -08:00
.dockerignore WIP dockerfiles 2022-03-07 20:42:44 -08:00
.env.local post generation rework with static paths/props 2022-03-21 17:20:41 -07:00
.eslintrc.json Initial commit 2022-03-06 16:46:59 -08:00
.gitignore "client: .env -> .env.local" 2022-03-07 23:13:37 -08:00
Dockerfile WIP dockerfiles 2022-03-07 20:42:44 -08:00
next-env.d.ts Initial commit 2022-03-06 16:46:59 -08:00
next.config.js client: tree-shaking improvements 2022-03-21 16:00:55 -07:00
package.json client: tree-shaking improvements 2022-03-21 16:00:55 -07:00
README.md Initial commit 2022-03-06 16:46:59 -08:00
tsconfig.json client: use cookie for theme, redirect post view in server side props 2022-03-21 14:27:48 -07:00
yarn.lock client: tree-shaking improvements 2022-03-21 16:00:55 -07:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

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

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.