Skip to content

Dixcordes/Dixcordes-api

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

create a .env file in the root directory and add the following variables

# .env
UPLOAD_LOCATION=
# Max 5Mb allowed
MAX_FILE_SIZE=
MAX_FILE_COUNTS=

API_VERSION=
DEV_URL=


JWT_SECRET=

Creating the Cassandra Keyspace and Table

CREATE KEYSPACE IF NOT EXISTS dixcordes WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

CREATE TABLE IF NOT EXISTS dixcordes.channel_messages (id uuid, author text, channel text, content text, PRIMARY KEY((id, author)));

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •