This is the very first version of Cozwix CMS. It is very simple and easy to use and setup. I have been looking for a CMS that I could use to build websites with Ejs, ExpressJS, and Mongodb, but I couldn't find any. That is why I built Cozwix CMS.
To delete a post, simply double-click the delete button. To edit a post, click the Edit button.
Component List:
- Heading 1-4
- Paragraph
- Image
- Video
- Audio
- Rich Text (quillJS)
- Download
- Image Gallery
- Quote
- Link
- Download this repo
- Open terminal in project and type
npm i
. This will install all the dependencies needed. - Open the
variables.js
file and look at line 4. If you are using Mongodb Atlas, then put in your connection string. If you are using your local Mongodb database, then you should be able to leave it the same. Otherwise, you will need to change the address. - Once you are connected to your Mongodb database, run
node index.js
or if you have nodemon runnodemon index.js
. Once the server is running, open your browser and go tohttp://localhost:3001/admin/
. The username and password isadmin
. If you want to change the username and password, which I would recomend, go to thesetupdata.json
file and change the username and password there. - Once you are loged in, click the
New Post
button.
- Upload your post header image, and fill in everything else, then click
Next
. - To add an item, click the green
Add Item
button, and click which item you want to add. - Once you have finnished adding all the items to your post, click the green
Save
button in the top right corner. Now you have made your first post! - To go to the home page, go
http://localhost:3001/
, and you should see the post you made! All the other links in the navbar should work.
- [Coming Next] How to build your own template for the cms.
- Other Docs
- Official Website