An open API service indexing awesome lists of open source software.

https://github.com/phe-rus/next.ts-express-custom-server

Next.ts Express Custom Server Template
https://github.com/phe-rus/next.ts-express-custom-server

custom-nextjs-server express next nextjs nextjs-express nextjs-express-template nextjs14 pherus types

Last synced: about 1 month ago
JSON representation

Next.ts Express Custom Server Template

Awesome Lists containing this project

README

        

# NEXT JS/TS CUSTOM EXPRESS SERVER TEMPLATE

To get started clone the repository

![next.ts express custom server](https://raw.githubusercontent.com/phe-rus/next.ts-express-custom-server/main/public/next.ts%20express%20custom%20server.png)

```terminal
https://github.com/phe-rus/next.ts-express-custom-server.git name-your-project
```

## The structure of the code

1. src/app/ : This is your fontend side of the code

2. server/index.ts : This is your backend express or whatever you decide to use side of the code and you output directory is comments

## Tree

```md

packages/button
├── server
│ ├── index.ts
├── src
│ ├── app
│ │ ├── favicon.ico
│ │ ├── pages.tsx
│ │ ├── layout.tsx
│ ├── components
│ ├── styles
│ │ ├── globals.css
├── .env
├── LICENSE
├── nodemon.json
├── postcss.config.mjs
├── package.json
├── tsconfig.json
├── next-env.d.ts
├── next.config.mjs
├── README.md
├── .gitignore
├── .eslintrc.json
├── .prettierrc.json
└── tsconfig.server.json
```

server

index.ts

## Notes

Your should disable .env from being pushed to a public repository in .gitignore