Testausserveri / testausserveri.fi

🧪 Homepage for Testausserveri - community of young Finnish hackers
https://testausserveri.fi
MIT License
12 stars 20 forks source link

Project data #47

Closed ahnl closed 4 months ago

ahnl commented 2 years ago

I'm currently working on the projects-page, but it would be useful if there would be some actual content ready to use.

If someone wants to help out and contribute, feel free to gather data of existing Testausserveri projects and document them. I suggest in plain files and markdown, and we'll later move it all to a database. This content would be used as a base for the projects-page.

Documentation can be placed here (coal: docs/project)

Specification

ahnl commented 2 years ago
Eldemarkki commented 2 years ago

I suggest in plain files and markdown, and we'll later move it all to a database.

Moving it to a database is a bad idea in my opinion, assuming you mean something like MySQL or MongoDB. Having it in markdown files makes editing and creating them easier. If they are in a database, people will have a hard time creating "pull requests" to edit something.

With Next.js you can read the contents of the markdown file and dynamically create the page from that content: https://nextjs.org/blog/markdown

ahnl commented 2 years ago

Keeping them in a repository is an option as well.

I think that if we use a database, users can edit their projects through members site. This would offer more options, like instant editing without pull requests, drag&drop to add media, find users to link their authorship, ...

Esinko commented 2 years ago

Indeed. I think I will be implementing the backend and storage for the backend of the members page. I'm planning on using MongoDB and Node.js, so as many people as possible can contribute. If someone else is interested, feel free to DM me and I'll give a few requests regarding the project architecture.

DrVilepis commented 2 years ago

If we really need to store something in a database for this, I think its wiser to use one of the more popular databases (mysql, postgresql, sqlite) since more people know them.

ahnl commented 2 years ago

If we really need to store something in a database for this, I think its wiser to use one of the more popular databases (mysql, postgresql, sqlite) since more people know them.

I agree, MariaDB.

kymppi commented 2 years ago

I think that if we use a database, users can edit their projects through members site. This would offer more options, like instant editing without pull requests, drag&drop to add media, find users to link their authorship, ...

Does it really have to be instantanius, i'm sure it can wait few hours + we get a history in git if we use repository method

ahnl commented 2 years ago

If we really need to store something in a database for this, I think its wiser to use one of the more popular databases (mysql, postgresql, sqlite) since more people know them.

I agree, MariaDB.

Testausapis already works with the MongoDB, so seems like we'll stick to it.

I was looking into many-to-many relationships so we can connect e.g. projects to members and vice versa. MongoDB's support for relations is basically referencing to other rows, but I think it's just fine albeit it requires more individual queries.

Esinko commented 2 years ago

If we really need to store something in a database for this, I think its wiser to use one of the more popular databases (mysql, postgresql, sqlite) since more people know them.

I agree, MariaDB.

Testausapis already works with the MongoDB, so seems like we'll stick to it.

I was looking into many-to-many relationships so we can connect e.g. projects to members and vice versa. MongoDB's support for relations is basically referencing to other rows, but I think it's just fine albeit it requires more individual queries.

This is why I suggested MongoDB in the first place :p