This project, a small imageboard on node js
To deploy the project run
npm install
- Create a database in mysql with any name
- Create an .env file and fill it as in
.env-example
HOST_ADDRESS
The address you want to useHOST_PORT
The port where the project will be locatedDB_NAME
The name of the database you createdDB_LOGIN
Your database usernameDB_PASSWORD
Your database password
-
Run the command:
node index format-db
ORnpm run formatDB
, open public server at the address and port you have chosen, go to the "boards" section and close the page. Video guide. -
To start, run the following command in the root of the project:
node index
ORnpm start
If you want to delete all entries in the database, then call the command
node index format-db
OR
npm run formatDB
RoadMap: to translate into other languages make images zoom in when you click on them unload by files, index.js file
@m8eight