Brick That is a Lego mosaic generator built with Node and Express, and templated with Handlebars. The app can create user accounts and store their generated artwork on a server-side library using the Sequelize ORM for MySQL.
A few environment variables are needed in a .env
file:
DB_NAME = lego_db
: the Sequelize instance will use this database when manipulating theUser
andLego
modelsDB_USER
: name of the MySQL user, which isroot
by defaultDB_PASS
: the password for your MySQL server
npm i
npm run start:dev
The server is now running locally at http://localhost:3001