https://github.com/internet-development/www-p-d
https://github.com/internet-development/www-p-d
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/internet-development/www-p-d
- Owner: internet-development
- Created: 2023-08-22T15:14:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-02T16:38:43.000Z (over 2 years ago)
- Last Synced: 2024-12-21T14:38:16.410Z (over 1 year ago)
- Language: TypeScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NEXT-SASS-STARTER
Why would I use this?
- Quickly start a project with TypeScript, SASS, and NextJS.
- 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
```sh
npm install
npm run dev
```
Go to `http://localhost:10000` in your browser of choice. Enjoy! We use this port for more compatibility with [Render.com](https://render.com)
### Scripts
If you need to run node script without running the server, use this example to get started
```sh
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.
```sh
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](https://www.twitter.com/wwwjim).