This project is part of an on-going, larger project known as BrickMMO. Picture-to-Pixels (or P2P) is the development project name; the official name is BrickMMO: Pixelate. It serves to convert an image into a pixelated image so a user can recreate it with LEGO bricks.
- Node.js
- Express.js
- React.js
- JavaScript
- CropperJs
- Database: MySQL
Run commands
-
npm install
-
npm run dev
Run commands
-
npm install --global yarn
-
yarn install
-
yarn run dev
cd frontend
npm i
- Include
"dev": "nodemon ./index.js"
under package.json scripts npm start
cd backend
npm i express mysql
- Include
"devStart": "nodemon server/server.js"
under package.json scripts - Create an .env file with the SERVER_HOST, SERVER_PORT, APP_PORT, SERVER_DB, SERVER_USER, and SERVER_PASSWORD, and SESSION_SECRET
npm start
Select an image and upload the image. Hit "Pixelate" and the user will be presented with a downloadable pixelated image, instructions in PDF to build it, and the amount of LEGO bricks needed along with the corresponding colours.
- Implement Backend Design to EJS/CSS : https://github.com/beartisan/pixelate-backend.git
- Users can create an account in the future
- Improve on app design and styling
- instructions.pdf includes pixelated image, + more pages
- Mobile responsive application
- Incorporate Colors API for “closest LEGO colour”
- Segment API endpoint for Radio to fetch segment inspos
- Store and Pixelate larger sized images
- Find more efficient way of storing images
- Administrator(s) should be able to edit current accounts
- Pixelated image should output image with LEGO-bricks instead of square pixels