mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-27 11:20:40 -04:00
Some checks failed
Build and Push Docker Images / build (admin-dashboard) (push) Failing after 15s
Build and Push Docker Images / build (battleship) (push) Failing after 9s
Build and Push Docker Images / build (calculator) (push) Failing after 9s
Build and Push Docker Images / build (cv-project) (push) Failing after 9s
Build and Push Docker Images / build (inventory) (push) Failing after 10s
Build and Push Docker Images / build (library) (push) Failing after 10s
Build and Push Docker Images / build (messages) (push) Failing after 9s
Build and Push Docker Images / build (nodejs-mini-message-board) (push) Failing after 10s
Build and Push Docker Images / build (portfolio) (push) Failing after 9s
Build and Push Docker Images / build (restaurant) (push) Failing after 9s
Build and Push Docker Images / build (shopping-cart) (push) Failing after 9s
Build and Push Docker Images / build (signup_form) (push) Failing after 8s
Build and Push Docker Images / build (tictactoe) (push) Failing after 9s
Build and Push Docker Images / build (weather) (push) Failing after 9s
|
||
---|---|---|
.. | ||
devops | ||
public | ||
src | ||
.dockerignore | ||
bun.lock | ||
cookies.txt | ||
Dockerfile | ||
package.json | ||
README.md |
Messages Project
Description
The Messages project is a simple web-based message board application built using Node.js and Express.js. It allows users to create and view messages.
Local Development Setup
Follow these steps to run the project locally:
- Clone the Repository:
bash
git clone <repository-url>
cd messages
- Install Dependencies:
bash
npm install
-
Database Setup
The project utilizes a database to persist messages.
- Install postgres if not already present.
- Create a database and modify the config.js file accordingly
# In the project directory
psql < src/models/init.sql
- Run the Application:
bash
node src/app.js
-
View the Application:
Open your web browser and go to
http://localhost:3000
to see the application.
Additional Notes
- Ensure that Node.js and npm are installed on your machine.
- You can modify the application by editing the files in the
src
directory. - Make sure to refer to
src/config.js
to configure the correct database and ports.