odin-codespace/messages
smiggiddy 694c1f10dc
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
ready to deploy
2025-05-03 00:14:04 +00:00
..
devops ready to deploy 2025-05-03 00:14:04 +00:00
public trying stuff out 2025-03-31 16:34:30 -04:00
src fix: update the db path 2025-03-31 20:16:56 -04:00
.dockerignore rename the app 2025-03-24 04:06:46 -04:00
bun.lock fix: logout session works now 2025-03-31 20:15:14 -04:00
cookies.txt trying stuff out 2025-03-31 16:34:30 -04:00
Dockerfile testing 2025-03-24 04:47:16 -04:00
package.json trying stuff out 2025-03-31 16:34:30 -04:00
README.md adding devops 2025-05-02 16:47:07 +00:00

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:

  1. Clone the Repository:
bash
    git clone <repository-url>
    cd messages
    
  1. Install Dependencies:
bash
    npm install
    
  1. 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
    
  1. Run the Application:
bash
    node src/app.js
    
  1. 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.