sorikairox / micronation Goto Github PK
View Code? Open in Web Editor NEWAn online micronation based on r/place that had 120k user
License: The Unlicense
An online micronation based on r/place that had 120k user
License: The Unlicense
We should fill in the details in the about page before prime time.
I suspect that this is happening when it receives an hex color code without the alpha channel.
This happens:
The default logger doesn't print the stack, which is vital for debugging.
Add ARG in the Dockerfile to pass arguments during the build
https://github.com/Sorikairox/micronation/blob/main/front/Dockerfile
ARG API_URL
ENV API_URL=${API_URL}
Add a new tab for color ranking, with possibility to choose an aera (rectangle)
Elements of the solution may include :
We should add the link to the about page, and maybe also make it look a bit more like a discord invite link.
The nav menu item "Éditer le drapeau" should be a regular link, not a button.
Making links look like buttons creates confusion as it makes the concepts of "action" and "navigation" overlap.
That is, when clicking a link, I expect to go to another page. When clicking on a button, I expect to do something that will change the state of the application (sending a form, logging out, refreshing data...).
An alternative way to distinguish menu items would be to add prefix icons.
These lines should be caught by the linter; they aren't.
Quelqu'un à réussi à créer un bot qui est en train de péter tout ce que les gens tentent de créer.
Ca na plus rien de marrant... 😢
Il faut mettre en place un système pour empêcher les systèmes automatiques de remplir le drapeau plus rapidement que tout le monde.
(the logo is in the header menu, top left of every page, and currently looks like a house aka a home page button but is not clickable and adds no value)
it could be replaced with the dirtybiology logo
The message :
"La date de dernière modification de ta zone est trop récente, merci de patienter !"
must be :
"La date de ta dernière modification d'un pixel est trop récente, merci de patienter !"
When I launch the containers with Docker:
sudo docker build -t exp-flag-back .
sudo docker-compose up
version: '3.7'
services:
mongo:
image: mongo
dirtybiology-back:
image: exp-flag-back
ports:
- 3000:3000
environment:
DATABASE_URI: "mongodb://mongo:27017/test"
DIRECTUS_URL: https://dev.fouloscopie.com
PORT: 3000
Error:
dirtybiology-back_1 | Error: Cannot find module 'library/database/repository/DatabaseRepository'
dirtybiology-back_1 | Require stack:
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/flag/pixel/PixelRepository.js
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/flag/FlagService.js
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/flag/FlagController.js
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/flag/FlagModule.js
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/bootstrap.js
dirtybiology-back_1 | - /usr/src/app/flag-service/dist/main.js
dirtybiology-back_1 | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
dirtybiology-back_1 | at Function.Module._load (internal/modules/cjs/loader.js:746:27)
dirtybiology-back_1 | at Module.require (internal/modules/cjs/loader.js:974:19)
dirtybiology-back_1 | at require (internal/modules/cjs/helpers.js:93:18)
dirtybiology-back_1 | at Object.<anonymous> (/usr/src/app/flag-service/dist/flag/pixel/PixelRepository.js:16:30)
dirtybiology-back_1 | at Module._compile (internal/modules/cjs/loader.js:1085:14)
dirtybiology-back_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
dirtybiology-back_1 | at Module.load (internal/modules/cjs/loader.js:950:32)
dirtybiology-back_1 | at Function.Module._load (internal/modules/cjs/loader.js:790:12)
dirtybiology-back_1 | at Module.require (internal/modules/cjs/loader.js:974:19) {
dirtybiology-back_1 | code: 'MODULE_NOT_FOUND',
dirtybiology-back_1 | requireStack: [
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/flag/pixel/PixelRepository.js',
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/flag/FlagService.js',
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/flag/FlagController.js',
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/flag/FlagModule.js',
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/bootstrap.js',
dirtybiology-back_1 | '/usr/src/app/flag-service/dist/main.js'
dirtybiology-back_1 | ]
dirtybiology-back_1 | }
Using directus sdk as explained by Samuel, we can get users nickname by id.
We should display your direct neighbours nickname on the edit page so you try to communicate with them through discord in order to design something nice!
The home page should be the first item, then the edit page and finally the about page.
When the number of creation event is around 100k, the flag computation start to get a little slow (around 2.6s) and it won't get better the more event we have.
How to fix this :
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.