Giter Club home page Giter Club logo

wastech / content-management-system Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 2.05 MB

Building the next Open Source Content Management System with Nodejs, NestJs, ExpressJs, Mongodb, Typescript ,Redis and Elasticsearch

Home Page: https://documenter.getpostman.com/view/9340802/2s93m4YNw1

License: MIT License

JavaScript 1.35% TypeScript 98.65%
nest nodejs docker elasticsearch expressjs jest jwt-authentication jwt-token mongodb nest-jwt-passport

content-management-system's Introduction

CMS API

A content management system (CMS) is a software application that allows users to create, manage, and publish digital content on the internet. A CMS simplifies the process of creating and editing digital content, making it easier for non-technical users to manage websites and other online platforms.

Documentation link can be found click_here.

3088358_orig

Getting Started

To get started with this API, you'll need to have Node.js installed on your machine. Once you've done that, you can follow these steps to set up the API:

  • Clone the repository to your local machine.
[email protected]:wastech/content-management-system.git
  • Navigate to the project directory:
 cd backend
  • Run npm install to install the dependencies.
npm install
  • Create a .env file in the root directory and add the following variables
PORT=<port number>
MONGO_URI=<MongoDB URI>
JWT_SECRET=<JWT secret key>
  • Run npm start to start the server.
npm start

The API will be available at http://localhost:3000. You can test the API endpoints using a tool like Postman or curl.

Features

  • Content creation: The ability to create and edit various types of content such as pages, blog posts, images, videos, etc.

  • Content organization: The ability to organize and categorize content using tags, categories, and other metadata to make it easy to search and filter.

  • Content publishing: The ability to publish content to a website or other digital platform, as well as the ability to schedule content for future publication.

  • User management: The ability to create and manage user accounts with different roles and permissions, allowing different users to have access to different parts of the content management system.

  • Version control: The ability to track changes to content over time and restore previous versions if necessary.

  • Workflow management: The ability to manage the content creation process, including assigning tasks, tracking progress, and approving content for publication.

  • SEO optimization: The ability to optimize content for search engines by adding metadata, keywords, and other SEO elements.

  • Analytics and reporting: The ability to track website traffic, user behavior, and other metrics to inform content creation and optimization.

  • Security: The ability to secure the content management system and its content against unauthorized access and other security threats.

  • Integration with other systems: The ability to integrate with other systems such as marketing automation, CRM, or e-commerce platforms to streamline workflows and increase efficiency

Stack

CMS API is built using Node.js, Express.js and Nest.js, with MongoDB as the database. I'm using the Mongoose library to interact with the database, and JWT for authentication.

Requirements

Before you can run the API locally, make sure you have Node.js and MongoDB installed on your machine. You can download Node.js from the official website, and MongoDB from the MongoDB website.

Contributing

I welcome contributions from the community! Here are a few guidelines to keep in mind:

  • Before starting work on a new feature, please create an issue first to discuss the proposed changes with the maintainers.
  • Make sure your code follows our code style guidelines, which can be found in the .eslintrc file.
  • All pull requests should be submitted against the develop branch.
  • Write clear and concise commit messages that describe the changes you're making.
  • Make sure all existing tests still pass and add new tests if necessary.
  • When submitting a pull request, please provide a summary of the changes made and a link to the corresponding issue.
  • Be respectful of others and their contributions. We have a code of conduct in place to ensure a welcoming environment for everyone.

If you have any questions or need help getting started, please don't hesitate to reach out to me. I'm happy to help!

Related Repositories

Here are some more example projects with Nest.js

API example API example

Contact

If you have any questions or suggestions regarding this API, please feel free to contact me at [[email protected]]. Thank you for using our service!

content-management-system's People

Contributors

wastech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.