The back-end API for my virtual museum built for my University final year degree project.
This API provides the back-end services for the virtual-museum react application. It is built with node and uses the fastify web framework.
- PostgreSQL - This API relies on a Postgres data source which must be configured in the application config file.
Installation progress is simple with NPM. Ensure node and NPM are installed before trying to install this project.
- Clonse virtual-museum-api repository
$ git clone https://github.com/ketnipz/virtual-museum-api && cd virtual-museum-api
- Install NPM dependencies
$ npm i
- Edit server configuration
vi server.config.js
- Import data to data store using scrape.py
$ python scrape.py --postres-user postgress --postgress-password postgress
- Run the server init file
$ node server.js
JSDoc is used throughout and HTML documentaion can be build in just a couple of easy steps.
- Ensure JSDoc is installed
npm i -g jsdoc
- Build documentation
cd virtual-museum-api && jsdoc -c jsdoc.conf.json
This project is submitted as part requirement for the degree of Computer Science & Artificial Intelligence at the University of Sussex. It is the product of my own labour except where indicated in the project content.
This project may be freely copied and distributed provided the source is acknowledged.