This is a Next.js project bootstrapped with create-next-app
.
First of all, run the development server on the directory services/api using npm:
npm install
npm start
...and then run the development server on the root directory by using yarn:
npm run dev
# or
yarn dev
# or
pnpm dev
/root
\_ /lib
\_apollo-client.ts: initialization file of the apollo client service
\_ /services
\_ /api: contains the graphql server configurations
\_ /graphql: contains files for the graphql schema
\_/src
\_ /assets: contains static assets such as images, fonts, etc.
\_ /components: contains all the components of the project
\_ /pages: contains the different pages of the project
\_ index.tsx: the project's root page
\_ /styles: contains the global style of the project
- Next.JS version 13
- Styled-components version 5
- GraphQL version 16