Fullstack website based on MongoDB Cluster, that allows user to create an account, add "forms" with highlighted code and preview other's forms.
Strona z bazą danych (MongoDB) pozwalająca na stworzenie konta i umieszczanie kodu w różnych językach
Link to application, deployed in heroku cloud service: coding-website-project
This project is simple website with Express server and MongoDB database, in which user can create an account, change his credentials, delete an accoung or upload forms (CRUD), which contains title, programming language the form is written in, and the acutal body of the form, consisting of lines (heavily inspired by Jupyter Notebook)
- Project is created with:
- Node version: 15.5.1
- Following npm libraries:
- [email protected] (https://www.npmjs.com/package/validator)
- [email protected] (https://www.npmjs.com/package/chalk) (as dev dependency)
- [email protected] (https://www.npmjs.com/package/nodemon) (as dev dependency)
- [email protected] (https://www.npmjs.com/package/express)
- [email protected] (https://www.npmjs.com/package/hbs)
- [email protected] (https://www.npmjs.com/search?q=hbs%20express)
- [email protected] (https://www.npmjs.com/package/mongodb)
- [email protected] (https://www.npmjs.com/package/mongoose)
- [email protected] (https://www.npmjs.com/package/bcryptjs)
- [email protected] (https://www.npmjs.com/package/jsonwebtoken)
- [email protected] (https://www.npmjs.com/package/env-cmd)
- To highlight a code syntax I used:
- PrismJS: (https://prismjs.com/)
To run this project, clone it and run it using scripts defined in package.json:
$ git clone https://github.com/piotr-rzepa/coding-website-project
$ npm init
From now on, you have two options, either run it using script:
$ npm run dev
Or using Node.js command:
$ node source/app.js