Skip to content

dawumnam/operational-transform-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title: operational-transform-server

Prerequisites

You will need the following tools:

  • Node.js and npm (Node comes with npm installed)
  • Text Editor (e.g., Visual Studio Code)

Installation

To install, follow these steps:

Via github:

  1. Clone the repo: git clone https://github.com/{YOUR_USERNAME}/operational-transform-server.git
  2. Navigate to the project folder: cd operational-transform-server
  3. Install the dependencies: npm install

Usage

The following scripts are available:

  • npm run test: Runs tests using Jest.
  • npm run build: Compiles TypeScript code to JavaScript.
  • npm run dev: Runs the application using nodemon for hot reloading.
  • npm run start: Starts the compiled JavaScript application.

Dependencies

Here are some of the key dependencies that you should be aware of:

  • express: A minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
  • jsonwebtoken: An implementation of JSON Web Tokens. This is used to create access tokens for your applications.
  • quill-delta: A utility for working with Quill's Delta format.
  • i: A utility library for writing idiomatic JavaScript.
  • npm: A package manager for the JavaScript programming language. It is the default package manager for the JavaScript runtime environment Node.js.

Dev Dependencies

These are the development dependencies:

  • @types/*: TypeScript type definitions for various libraries. This helps with autocompletion and type checking.
  • eslint: A tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
  • jest: A delightful JavaScript Testing Framework with a focus on simplicity. It is used for writing and running tests.
  • prettier: An opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules.
  • supertest: A high-level abstraction for testing HTTP, while still allowing you to drop down to the lower-level API provided by superagent.
  • ts-jest: A TypeScript preprocessor with source map support for Jest that lets you use Jest to test projects written in TypeScript.
  • ts-node: TypeScript execution environment and REPL for node.js, with source map support.
  • typescript: The TypeScript language.

Authors

GitHub Profile

License

This project is licensed under the ISC License.

Contributing

For those who would like to contribute, please follow these general guidelines:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

Tests

Tests can be run with npm run test and are written with Jest. Please add tests for new features and ensure that these tests are passing before submitting pull requests.

Contact

Please add contact information.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. In case of abusive behavior, please report it by contacting the project team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published