Giter Club home page Giter Club logo

enigma-cms's Introduction

Enigma CMS

Enigma CMS is an experimental custom CMS project made using the MERN stack. I codenamed the project "Enigma" because I was feeling cute. To be honest, I might change it later. I started this project because quite frankly many CMSs out there don't really meet my needs, and I was feeling cute. I might abandon it later, who knows?

So what features make this thing so outstanding? First off, it's far from outstanding; it's running on a computer. (Pun totally intended.) Here they are:

  • custom document types editable in the admin panel (and not loaded from some text file like in many CMSs)
  • uses as few dependencies as possible (but hopefully will have a ton of dependents)
  • lightweight app bundles
  • BUT WAIT! THERE'S MORE! I just couldn't think of anything else off the top of my head.

Getting Started

Clone this repository. If you don't know how by now, being the total n00b you are, here's something for you to blatantly copy, paste, and execute in your favorite shell:

git clone https://github.com/dchan3/enigma-cms

Prerequisites

This is a MERN stack project, so I think it's quite obvious what you need:

  • MongoDB
  • Express.js
  • React.js
  • NodeJS

You will need to follow the installation instructions catered to your platform.

Installation

Again, this is a MERN stack project. After you clone this repository, cd into the repository and run npm i.

Building

npm run-script build or webpack

Firing Up

  • On your local machine in development mode: npm start
  • On some server: node server.bundle.js

Deployment

If you deploy this thing on your server, it must be noted that if you're running it behind a nginx reverse proxy, you had better make sure you can send POST requests to it without difficulty. I'm not gonna lie: I spent a day trying to get my nginx configuration correct, so I'll let you feel my pain and figure it out yourself when you get to this point.

If you do get it figured out, congratulations, it should run as expected. You don't know how proud of you I am.

Contributing

I don't feel like opening this up to contributors yet. I might change my mind later.

Dependencies

I did say "as few dependencies as possible." I'll be honest though: there is not much a one-man operation can pump out on its own. Eventually I'd want this project to be 100% self-sufficient. (No, not the going green type...)

So without further ado, here they are. (Maintainers, you might want to thank me for the clout you receive from these mentions of your repositories.)

  • Limax - for handling all the slug generation problems thanks in part to globalization

Dependents

Authors

  • Ya Boi - pretty much everything - dchan3

enigma-cms's People

Contributors

dchan3 avatar dependabot[bot] avatar sunquan8094 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kenlock

enigma-cms's Issues

Authentication alternatives

  • Refrain from using third-party systems, 2FA, and recognition systems as setup can be rather troublesome
  • Q&A auth system

Not starting

$ npm start

> enigma-cms@ start C:\Documents and Settings\Redacted\Documents\mern\enigma-cms
> nodemon server.bundle.js

[nodemon] 2.0.4
[nodemon] reading config .\nodemon.json
[nodemon] to restart at any time, enter `rs`
[nodemon] or send SIGHUP to 16580 to restart
[nodemon] ignoring: .\test/**/* .\public/**/* documents/**/*.enigma profiles/**/* site-files/**/*
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.bundle.js`
[nodemon] forking
[nodemon] child pid: 15036
[nodemon] watching 133 files
C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1
const 單="__esModule",序="function",無="undefined",物="object",孩="children",段="p",分="div",指="@@iterator",入="input",數="number",價="value",絲="string",部="component",造="createElement",狀="useState",果="useEffect",情="useContext",同="SamePageAnchor",照="img",伸="span",布="boolean",壹="h1",重="reset",勾="checked",盒="checkbox",處="href",前="useFrontContext",路="useRouterContext",格="td",填="textarea",種="type",連="a",符="symbol",則="defaultValue",效="result",收="radio",選="select",擇="option",帽="Fedora",街="pathname",歷="history",點="location",類="className",設="defaultProps",定="default",復="docTypeNamePlural",始="start",作="createContext",動="action",推="PUSH",泡="POP",名="name",挑="options",庫="dataObj",長="length",油="render",塊="Fragment",解="defineProperty",己="getOwnPropertyDescriptor",代="getOwnPropertySymbols";!function(e){var t={};function r(n){if(t[n])return t[n].exports;var

ReferenceError: regeneratorRuntime is not defined
    at C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:20256
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:20990)
    at r (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:885)
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:12004)
    at r (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:885)
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:28618)
    at r (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:885)
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:2685)
    at r (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:885)
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:66482)
    at r (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:885)
    at C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:1678
    at Object.<anonymous> (C:\Users\Redacted\Documents\mern\enigma-cms\server.bundle.js:1:1688)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
[nodemon] app crashed - waiting for file changes before starting...

Is there quick fix you can identify there?

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.