A live cycling blog and authentication and authorization system build with Node.js with Express backend utilizing a PostgreSQL database and a Svelte5 frontend
To run the program locally you must fill in the fields in the .env.sample file, and rename it to .env
You must also have PostgreSQL installed and running on your system
Node.js
npm
If you need PostGreSQL running locally do
export PGPASSWORD=your_actual_passwordpsql -h localhost -p DBPORT -U myappuser -d myappdb- Change the "your_actual_password" and DBPORT to whatever you put in your .env file lcoally 😄
Clone the repository CD into the repo folder
cd servernpm installcd ../clientnpm install
- From the server folder start the server:
npm start or npm run dev for hot-reload - The API will be available on port 8080
- From the client folder, start Vite
npm run dev - The application will now be available on port 5173