Skip to content

Hackclub is where hackers write your experiences and chat about ideas.

License

Notifications You must be signed in to change notification settings

coderCadu/hackclub

Repository files navigation

JavaScript Logo NodeJS Logo Next Logo React Logo Postgresql

THAT`S A WIP Project

Hackclub (Project based on Tabnews)

Developed for the curso.dev of Filipe Deschamps

How to run this project

I have installed Node in version 18.20.4 and NPM in version 10.7.0.
This project uses a Docker image of postgres:16.0-alpine3.18 and automates unit tests with Jest

Should you have installed nvm you should run the command below:

nvm install

Or manually install Node in the correct version(18.20.4)

After that. You should install your repository dependencies with the following:

npm install

When done, you should run the database and the server with the following commands:

npm run dev

This command ups a docker-compose container with the database and runs the migrations to build the struct of DB and finally the server.

For down the server press ctrl + c and run the command:

npm run compose:down

This command kills the container generated by the compose file

How to run automated tests

If you wanna run the automated tests after all you can use the command:

npm test

About

Hackclub is where hackers write your experiences and chat about ideas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published