Giter Club home page Giter Club logo

cswd_coursework's Introduction

Book Catalog

A catalog for reviewing, rating and finding books built with Nuxt.js.

Features

  • Password hashing (argon2)
  • Login/Registration
  • Single Page Application
  • View, Review & Rate Books
  • View distribution of book ratings
  • View book reviews
  • Search for books
  • Create and Remove book interests
  • View your book history
  • Mark books as read
  • View recommended, recently added and random books

Requirements

Setup

# Clone repository
$ git clone https://github.com/FrazzIe/cswd_coursework.git
$ cd cswd_coursework

# Install dependencies
$ yarn install

Database credentials & application secrets

  1. Create a file called .env
  2. Paste the content below inside and enter your credentials
# Database credentails
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASS=
MYSQL_DB=book_catalog
# Authentication secret
JWT_SECRET=secret
  • Above are all the applications specific environment variables, you can set them yourself or let the application handle them in the .env file.

Importing the database schema

  • Run the schema.sql script included in the repository in your database system

Building and running the application

# build for production and launch server
$ yarn build
$ yarn start

Included accounts for demonstration purposes (remove from database if used for non-demo purposes)

Username Password Group
admin Admin123@ admin
user1 User123@ user
user2 User123@ user
user3 User123@ user
user4 User123@ user
user5 User123@ user
user6 User123@ user
user7 User123@ user
user8 User123@ user
user9 User123@ user
user10 User123@ user

cswd_coursework's People

Contributors

dependabot[bot] avatar frazzie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.