Skip to content

clatsch/cutwalk

Repository files navigation

CutWalk - Backend

This repository contains the backend code for CutWalk, an application for efficient calculation and ordering of waterjet cutting jobs.

Technologies Used

  • Node.js

  • Express.js

  • MongoDB

  • JWT (JSON Web Tokens)

Installation

  1. Make sure you have Git and Node.js installed on your computer.

  2. Open a command line interface (e.g., Terminal) and navigate to the directory where the repository should be saved.

  3. Clone the frontend repository by running the following command::

git clone https://github.com/clatsch/cutwalk
  1. Navigate into the cloned repository:

cd cutwalk
  1. Install the required npm packages by running the following command within the repository:

npm install
  1. Create a file named config.env in the root directory of the project and add the following content:

NODE_ENV=development
PORT=3000
DATABASE=Your MongoDB connection
DATABASE_PASSWORD=Your MongoDB connection password

JWT_SECRET=your secret token
JWT_EXPIRES_IN=90d
JWT_COOKIE_EXPIRES_IN=90`
  1. Start the project by running the following command:

npm run dev

The server should now start on http://localhost:3000.

For the frontend code, please refer to the CutWalk Frontend Repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published