Skip to content

Latest commit

 

History

History

nextjs

@acme/nextjs

This Next.js website hosts the backend of the SchoolConnect application. It also hosts a few other static pages that are not a part of the mobile application.

Getting Started

To get started, first you will need to have Node.js 18 or higher installed alongside with PNPM version 7. You can install the dependencies of this project by running the following command:

pnpm install

After that is done, you just need to run:

pnpm dev

And you will have a local development server running on port 3000 with the backend and all the files.

Directory Structure

The directory structure of this project is as follows:

  • public/ -- The public directory contains static files that are served directly to the client. This directory is not processed by any build tool, and is directly served.
  • src/ -- The src directory contains all the source code of the project.
    • content/ -- The content directory contains the autogenerated privacy policy and terms of service pages.
    • pages/ -- The pages directory contains all the pages of the website. The pages are routed based on the file name.
    • styles/ -- The styles directory contains all the stylesheets of the website.

Stack

The stack of this project is as follows:

  • Next.js 13, a meta-framework for React
  • React 18
  • Kumiko for the styling
  • Tailwind for the styling utilities
  • tRPC server hosted on Vercel