Skip to content

This backend web server is directed toward teachers and students to produce flashcards for themselves or share in groups

Notifications You must be signed in to change notification settings

learnint/flashpack-backend

Repository files navigation

Flashpack Backend

https://flashpack-api.azurewebsites.net/api

This backend web server is directed toward teachers and students to produce flashcards for themselves or share in groups

Technologies

image image image image

  • TypeScript: Superset of JavaScript that adds static type definitions
  • Node.js: JavaScript runtime environment
  • NestJS: Progressive Node.js framework for scalable server-side applications
  • PostgreSQL: Open source relational database

Installation

Install Postgresql (https://www.postgresql.org/)

Configure the database: Create a database with a postgres user and at the required host (example 'localhost'). We call our database 'flashPack', however you can change this to whatever you like

Clone the repository:

git clone https://github.com/learnint/flashpack-backend.git

Change directory:

cd flashpack-backend

Add a .env file to the project root:

touch .env

Edit the .env file with the database connection details as keys like so:
DATABASE_HOST=localhost
DATABASE_PORT={port that the database runs on, postgres defaults to port 5432}
DATABASE_USER={the postgres username}
DATABASE_PASS={the password}
DATABASE_SCHEMA={name of the database}\

Install dependencies:

npm i

Usage

Run application:

npm start

About

This backend web server is directed toward teachers and students to produce flashcards for themselves or share in groups

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •