Skip to content

Aleksandergreg/NodeExam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live cycling blog and auth system

A live cycling blog and authentication and authorization system build with Node.js with Express backend utilizing a PostgreSQL database and a Svelte5 frontend

Prerequisites

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_password
  • psql -h localhost -p DBPORT -U myappuser -d myappdb
  • Change the "your_actual_password" and DBPORT to whatever you put in your .env file lcoally 😄

Installation

Clone the repository CD into the repo folder

  1. cd server
  2. npm install
  3. cd ../client
  4. npm install

Running the application

Backend

  1. From the server folder start the server: npm start or npm run dev for hot-reload
  2. The API will be available on port 8080

Frontend

  1. From the client folder, start Vite npm run dev
  2. The application will now be available on port 5173

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors