This is the official repository of codedamn.com, i.e. the contents you see on codedamn.com are directly fetched from the master branch of this repo. Feel free to contribute! We appreciate contributions from the community!
codedamn is built on the top of Node v8.9, Express Framework, MongoDB, Mongoose and TypeScript
- Fork this repo
- Run
git clone https://github.com/<YOUR_NICK>/codedamn.com
- Create
secrets.ts
file in the root directory (i.e. withindex.ts
file) - Paste the following contents in it:
export const reCAPTCHAsecret = "SOME_RANDOM_KEY"
- Run
npm i
in the folder - Once everything is done, run
nodemon
command which will pick up configs from suppliednodemon.json
file and setup live reloading for.ts
code.
- The site uses TypeScript to enforce proper JavaScript code. Give it a look if you need an intro to TypeScript
- Please make sure your pull request is compatible with the flow and code structure of the overall site.
- Use tabs and not spaces :)
- Use curly brace on the same line like
function damnit() {
:)
Please check the issues tab for available things you can work on and be a contributor to codedamn.com!
Cheers! </>