CoastalCommitsPastes/client
Max Leiter 2ecf1b21ca
client: remove server as build requirement
This means public/unlisted posts and the home-page are no longer
generated at build-time, so TTFB may be increased for the first user to
load/access a page. Cache-Control headers are set so if the RP / server
supports it the results should be cached for future users.
2022-04-06 10:41:42 -07:00
..
components server: add basic is-admin tests and bug fixes 2022-04-05 16:17:08 -07:00
lib client/server: move markdown rendering from client/ entirely to server/ 2022-04-04 18:13:18 -07:00
pages client: remove server as build requirement 2022-04-06 10:41:42 -07:00
public client/server: add support for expiring posts 2022-03-30 20:01:24 -07:00
styles client: mobile post page adjustments with longer button bar 2022-04-03 13:09:04 -07:00
.dockerignore server: dockerfile updates and switch to bcryptjs 2022-03-28 19:26:16 -07:00
.env.local client/server: add post searching 2022-03-24 18:03:57 -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
.prettierrc client: lint with useTabs 2022-03-23 15:42:22 -07:00
Dockerfile server: dockerfile updates and switch to bcryptjs 2022-03-28 19:26:16 -07:00
next-env.d.ts Initial commit 2022-03-06 16:46:59 -08:00
next.config.mjs client: add prettier, switch to preact 2022-03-23 15:34:23 -07:00
package.json server/client: use cross-env for Windows support (#58) 2022-04-01 14:37:24 -07:00
postcss.config.json client: add prettier, switch to preact 2022-03-23 15:34:23 -07:00
README.md Initial commit 2022-03-06 16:46:59 -08:00
tsconfig.json client/server: add the ability to copy a post, view a posts parent 2022-04-01 22:55:49 -07:00
yarn.lock server/client: use cross-env for Windows support (#58) 2022-04-01 14:37:24 -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.