This repository is a boilerplate for creating an app using Next.JS, TypeScript, Express, and SCSS.
This boilerplate requires Node.JS and yarn to be installed on your computer.
I recommend using yarn over npm
git clone https://github.com/aiomonitors/next-express-ts-boiler.git
cd next-express-ts-boiler
rm -rf .git
yarn install
After running the above commands, you should be able to run the program using yarn start
First you will want to edit the package.json to reflect your project (Name, repo, author)
After editing the package.json, you are ready to start coding!
All your server code should be put in server/. Anything in this directory will be compiled into dist/.
All your frontend code should be put in src/. Anything in this directory will be compiled into .next/
yarn start - Starts the server (Note: Must have run yarn build before using this command)
yarn build:server - Compiles the server/ directory into dist/
yarn build:next - Builds the src/ directory into .next/ for production
yarn build - Runs yarn build:server & yarn build:next
yarn dev:server - Starts the application using ts-node-dev and reloads when changes are detected in server/
yarn dev - Starts the next application (Note: Does not start the server)
# member-dashboard