Esta web se creó en enero para el aniversario del Instituto. Se creó con el fin de que los alumnos pudieran registrarse a sus actividades favoritas.
Ya que ha pasado el evento, he decidido hacer el código abierto para que cualquiera pueda verlo, y aprender de su estructura interna 😄
Debido a su publicación con la licencia GNU GPL v3, he añadido algunos comentarios en el código para que sea más fácil de entender.
La web que se ve si se accede al dominio en este momento se sitúa en la rama current
En total unas 25 horas de escritura activa de código, pero en el editor de código unas 35 horas.
Tiempo seguido, pero queda varias horas que no se han registrado
Crear un nuevo proyecto de Clerk y configuar las variables en el archivo .env.local
.
Además añadir una variable llamada EMAIL_DOMAIN
con el dominio de los correos electrónicos de los alumnos sin la arroba.
Después, rellenar la variable DATABASE_URL
en el archivo .env
con la URL de la base de datos de MongoDB.
Finalmente, instala las dependencias con yarn install
y ejecuta el proyecto con yarn dev
.
Note
Puede tardar un rato en cargar
This website was created in January for the school's anniversary. It was created so that students could register for their favorite activities. Since the event has passed, I have decided to make the code open source so that anyone can see it, and learn from its internal structure 😄
Due to its publication with the GNU GPL v3 license, I have added some comments in the code to make it easier to understand.
The website that is seen if you access the domain at this time is located in the current
branch
In total about 25 hours of active code writing, but in the code editor about 35 hours.
Time tracked, but there's more time that I didn't track
Scroll back up to Tecnologías
Create a new Clerk project and configure the variables in the .env.local
file.
Also add a variable called EMAIL_DOMAIN
with the domain of the students' email addresses without the @.
Then, fill in the DATABASE_URL
variable in the .env
file with the URL of the MongoDB database.
Finally, install the dependencies with yarn install
and run the project with yarn dev
.
Note
It may take a while to load