Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Tobias Lundgren
    @maithreya have you tried to re-installed node and npm?
    Ahmad Abugosh
    hey everyone, I'm trying to do a simple post request on a form and I get the error "Error: CSRF token missing", what am I missing?
    Ahmad Abugosh
    never mind, somehow missed it in the faq
    yay hello everyone, i finally found this place :smile: thank you for all your fantastic efforts sahat
    Yusuf Adeyemo
    Welcome @slidenerd
    Nischay Venkatram
    Hey everyone, I created this really simple express app generator the generates a basic express app without extra stuff like handlebars and additional modules. I find it useful when I want to spin up a really simple server that does not need any of the additional stuff that comes with express generator. Feel free to use it and contribute if you would like to see any additional features! https://github.com/nischayv/express-gen
    Kuriakin Zeng
    Hello @sahat and everyone. I have followed the steps here https://github.com/sahat/hackathon-starter#getting-started but still couldn't get it to work. I have renamed env.example to .env and provided the MONGOLAB_URI
    But when I run npm start, it gives me Client requires an Account SID and Auth Token set explicitly or via the TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN environment variables
    Since the error occurs in node_modules/twilio/lib/Client.js:22, I added console.log(process.env) to where SID and TOKEN were required
    But didn't find any of the variables set in .env
    Seems like that file doesn't read the .env file
    Anyone has an idea how to solve this?
    ok never mind, I just read that I should change dotenv.load({ path: '.env.example' });
    hey guys, http://hackathonstarter-sahat.rhcloud.com/ seems to be down
    Kuriakin Zeng
    it is down from my side too
    btw, does anyone know why the code in js/main.js doesn't get compiled when I run npm start?
    it's in the one in public folder. should I run some special command?
    Kuriakin Zeng
    ok got it
    there's cache.
    John Wilfred
    hello all
    Nuno Ribeiro
    Hi. I'm wondering about how to use my own mail server with hackathon starter... is there a way to .env it or must I hack through?
    Arthur Tkachenko
    @nmpribeiro I think you cannot do what do you want via .env file. I propose you to create second file at 'config' folder, name it secret(example). On this file you must add nodemail settings in array-like way. You can find more information at nodemail tutorial. as simple example, please open this file and see nodemail options for SendGrid email server: https://github.com/sahat/hackathon-starter/blob/master/controllers/contact.js#L3
    You also can get an idea by looking at my project: https://github.com/atherdon/stripe-recurring-membership/blob/easymail/server/config/secrets.js#L23
    Take care
    John Wilfred
    Hello all
    does anyone here have used Osmosis on scraping websites?
    Hi i cloned the project, but when i try to run it i get the following error:

    throw err;

    Error: Cannot find module 'node-sass-middleware'
    at Function.Module._resolveFilename (module.js:489:15)
    at Function.Module._load (module.js:439:25)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/philip/Desktop/Dev/MyWebsite/my-website/app.js:20:24)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)
    at tryModuleLoad (module.js:470:12)
    at Function.Module._load (module.js:462:3)
    at Function.Module.runMain (module.js:609:10)
    at startup (bootstrap_node.js:158:16)
    at bootstrap_node.js:578:3

    Node-sass-middleware is installed, does anyone know how i can fix this?

    Ben Halverson
    @philipbankier show the code on where you are using node-sass-middleware
    when i run npm install
    i am getting this error
    npm ERR! Darwin 17.3.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
    npm ERR! node v6.11.3
    npm ERR! npm v5.5.1
    okay fixed just reinstall nodejs and npm
    Praveen Durairaj
    Hey guys, i have packaged this hackathon-starter boilerplate (Node.js + MongoDB) running as microservices in the same kubernetes cluster. Check it out here. It wouldn't take more than a couple of minutes to get this deployed on a cloud server.
    Would love your thoughts/feedback on this for improvements. :smile:
    Hello, have a question please can we use this starter with another database?
    Tobias Lundgren
    @micko75 yes you can just modify the server to use another database for your app.
    Conor Graham
    any nice resources for creating APIs with React?
    API Management
    Harishankar Ayandev
    Hey guys
    I'm building a project with your starter for the backend and vue as the frontend . I'm gonna use your starter only for API authentication. For this purpose, will passport.js help me as I'm gonna use multiple role based login?
    Please help
    Hi there, I am wondering if you can add WeChat to passport.
    Can anyone help me with setting up GetStream.io to this?
    Or any other respectable newfeed application
    Ken You
    Hi, I am kai. Evangelist of Mixin Network. We are hosting the Virtual Hackathon. Anyone is interested can visit our Hackathon side to learn more: https://mixin.one/events/hackathon let me know if you have any questions.
    Hello world, I am looking for intro to front-end side of hackaton-starter.
    @matkoklaic hackathon-starter is a boilerplate to Nodejs apps (which are back-end) you have to add your own front-end (which is really easy). Numerous tutorials on web about that.
    Harsha MV
    Hello Guys
    Whcih DB does the template use?
    Dale V Ross
    @redlinecodes I'd say it's a Full Stack solution including Express. He might be interested in knowing how to modify pug templates, views etc.

    Hello world, I am looking for intro to front-end side of hackaton-starter.


    Oscar Quinteros
    Would it be possible to add sveltejs to hackathon-starter? A fusion : )
    Sam ugonna