APiligrim / filecoin-dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NEXT-SASS

Why would I use this?

  • Quickly start a project with TypeScript, SASS, and NextJS.
  • Convenient global CSS reset file.
  • You got tired of using CSS-in-JS.
  • You want to make a website quickly.

Setup (MacOS)

Start by cloning the repository, or by clicking on Use this template above.

Then run the server

npm install
npm run dev

Go to http://localhost:3005 in your browser of choice. Enjoy!

Scripts

If you need to run node script without running the server, use this example to get started

npm run script example

Env Variables

If you want to connect to a Postgres database, something I do all the time, provide the following .env file. 5432 is the default Postgres port.

DOCUMENT_DATABASE_NAME=xxxx
DOCUMENT_DATABASE_USERNAME=xxxx
DOCUMENT_DATABASE_HOST=xxxx
DOCUMENT_DATABASE_PORT=5432
DOCUMENT_DATABASE_PASSWORD=xxxx

Contact

If you have questions ping me on Twitter, @wwwjim.

About


Languages

Language:TypeScript 90.3%Language:SCSS 5.3%Language:JavaScript 4.3%