Skip to content

Jacobtkristensen/node_js_exam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Fullstack Exam

Overview

This project is a fullstack application built with a Svelte frontend and a Node.js backend.

Frontend

  • Framework: Svelte

Backend

  • Runtime: Node.js

Functionality and Dependencies

Core Functionality

  • bcrypt: Used for hashing user passwords.
  • crypto: Used to generate session secret.
  • dotenv: Used for environmental variables.
  • express: Web framework for Node.js, used to build web applications and APIs.
  • express-rate-limit: Middleware to limit repeated requests to server endpoints.
  • express-session: Middleware for managing user sessions.
  • mongodb: simple MongoDB setup.
  • resend: used for email verification and password resets.
  • socket.io: used to toggle dark/light mode for all connected users
  • validator: used for Validating and sanitizing strings.

Getting Started

  1. Clone the repository:
    git clone <repository-url>
  2. Install dependencies:
    npm install
  3. Set up environment variables:
    • Create a .env file in the root directory and add necessary environment variables.
  4. Set up the database:
    npm run database-create
  5. Start the development server:
    npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors