https://github.com/gottwik/legolabels
Sort your LEGO like a pro
https://github.com/gottwik/legolabels
enduro lego
Last synced: 3 months ago
JSON representation
Sort your LEGO like a pro
- Host: GitHub
- URL: https://github.com/gottwik/legolabels
- Owner: Gottwik
- Created: 2017-01-04T15:57:21.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T20:10:20.000Z (about 8 years ago)
- Last Synced: 2025-04-24T22:39:06.898Z (6 months ago)
- Topics: enduro, lego
- Language: JavaScript
- Homepage: http://www.bricklabels.com/
- Size: 18.5 MB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Support: support_files/favicon_512.png
Awesome Lists containing this project
README
# Lego Labels
Sort your LEGO like a pro

# Developing this
To get started quickly just:
* clone repo
* cd into it
* run `npm install` followed by `npm start`.Alternativelly I recommend installing [enduro](http://www.endurojs.com/) globally by `npm i enduro -g`. This way you can just cd into the project and run `enduro`. This will also start development server at localhost:3000 with browsersync to live refresh scss, handlebars or javascript updates.
## Setting mongodb & rebrickable api
This project uses mongodb. I used [mlab](https://mlab.com/).
The mongodb connection url is not included in this repository to prevent abuse. You can sign up, it's free. Follow these steps to create your own mlab instance:
* sign up for [mlab account](https://mlab.com/signup/)
* click 'create new' to create new mongodb deployment
* mlab shows you the connection string, just add your credentials.
Also, don't forget to add your rebrickable api key to the same file.
Once you get the connection string you have to set it up either in enduro_secret.json or as a envirment variable. Create a file in root folder of this project called **enduro_secret.json** with this content:
```
{
"secret": {
"s3": {
"S3_KEY": "",
"S3_SECRET": ""
},
"DATABASE_URL": "",
"REBRICKABLE_API_KEY": ""
}
}
```