BinaryBand / express-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExpressJS Backend Project

Introduction

This project is a web application that allows users to create an account and authenticate using a cryptographic-generated token. The project is built using Express.js, Bootstrap, sqlite3, and Handlebars.

Requirements

  • Node.js
  • npm

Getting Started

Installation

  1. Clone this repository to your local machine.
git clone https://github.com/BinaryBand/express-backend.git
  1. Navigate to the project directory.
cd express-backend
  1. Install the required dependencies.
npm install
  1. Create a .env file in the project root and add the following environment variables:
ENCRYPTION_KEY=your_encryption_key
HASH_SALT=your_hash_salt
TOKEN_SECRET=your_token_secret
  1. Start the development server. The application will be available at http://localhost:3000.
npm start

Usage

  • Create an account by providing a username and password.
  • Login to your account using the generated authentication token.

Built With

  • Express.js - The web framework used
  • Bootstrap - The CSS framework used
  • sqlite3 - The database used
  • Handlebars - The template engine used

Author

  • Shane Davenport

About


Languages

Language:TypeScript 76.8%Language:Handlebars 23.2%