Share your repls and programming experiences

← Back to all posts
Brainy - A survey API that collects data from forms
ruiwenge2

I've spent about a month working on Brainy, a survey API that can collect data from your forms.

Features

  • Dashboard with table
  • Redirecting after submitting a form
  • Download/view/fetch JSON data
  • Download CSV data
  • Create/rename/delete surveys
  • Create/rename/delete input fields
  • Change privacy
  • End surveys

To test it out, create a new HTML repl, create a new account and survey in Brainy, and follow the instructions in the docs or in the code page for the survey.

Here's a demo of the dashboard:

And here's a demo form for @DynamicSquid that uses Brainy lol: https://survey.ruiwenge2.repl.co

Click here for the GitHub repo

Credits

I hope you found this useful!

Voters
rickysong
Maxb0tbeep
ruiwenge2
ShaikAshraf
jatinyadav1067
sojs
patelr
TurtleAndrew
Drik0the0gen
TheDNAHero
Comments
hotnewtop
Bunnytoes

very cool but I don't know html ☹

ruiwenge2

@Bunnytoes thanks :D

ruiwenge2

follow the code page, it shows you the code

Bunnytoes

@ruiwenge2 I know, I will try how do I add code?

ruiwenge2

@Bunnytoes create a new html repl, and inside the body tag, insert the code

ruiwenge2

@Bunnytoes lol I saw you submit the survey about squids

Bunnytoes

@ruiwenge2 ohhhh ok

Bunnytoes

@ruiwenge2 yep :) can you help me with the survey please (you made it so I think you can do it :)) NOOOOOO calamari is squid :(

ruiwenge2
enews

open the index.html page of your webpage or your html editor, and paste the code that @ruiwenge2 had added in the 'code' page of the docs page.

Bunnytoes

@enews he said that, but thanks :)

PixiGem

finally. your hard work's worth it! THIS IS REALLY A POGGY API

ruiwenge2

@PixiGem yay thanks!!!

PixiGem

@ruiwenge2 but pls help me make a posting app in team repl :(

PixiGem

@ruiwenge2 i wud be in danger if my mom catches me on replit, so pls fast :(

SilvermoonCat

pog! css could be improved tho lol

ruiwenge2

@SilvermoonCat thanks! Yes many people think the css can be improved

lostintheabyss

@ruiwenge2 hey, I'm pretty decent at CSS and have worked on many stuff like https://www.rainry.me & I can help out if you wish.

SilvermoonCat

@ruiwenge2 yea, if you need help I can help a bit xD
the design is ok, just the colors and a few details look…. not pleasing

Whippingdot

I
no
under
stand

PixiGem

@Whippingdot it
is
an
API
you
know
what
is
an
API?
go to the docs page &
follow the tutorial &
use
the
API
in
the
code
and
the
submission
results
will
appear
in ur survey (I forgot to tell u to create a new survey xD)
it is basically like google forms results page if u ever used that

Whippingdot

So basically how do you create a survey...lol

Wait so you create a server from the API too? And then whenever someone fills the results you get an updated counter of how many people chose this and how many people chose that? @PixiGem

ruiwenge2
ruiwenge2
PixiGem

@Whippingdot Click on new survey after u create ur account

kannibalistic

@PixiGem lol that looks like a poem

PixiGem

@kannibalistic that was meant to be a poem. Sorry for my bad poetic skills LOL

kannibalistic

@PixiGem no i think its a GREAT poem(at least in programming)

PixiGem

@kannibalistic lol u kiddin me right? xD

sojs

cool!

ruiwenge2

thanks! @sojs

Drik0the0gen

Just too good, Will be very helpful to me!

ruiwenge2

@Drik0the0gen no problem!

TheDNAHero

This is super duper awesome

ruiwenge2

thanks @TheDNAHero

yeetboy123

Bro this is so cool, I wish I knew html. I only know python though. I hope you keep up the good work!

ruiwenge2

thanks! @yeetboy123

RayhanADev

I like it :D

ruiwenge2

@RayhanADev thanks!

PixiGem

hey! im good at frontend, so if u wish, may you pls invite me to this repl, I'll try to change the css and make it better :)

palodog

that’s cool

SixBeeps
ruiwenge2

@SixBeeps ok thx for telling me

SixBeeps

@ruiwenge2 You really should implement a fix rather than just adding whitespace to the script. I'll admit my hack was rather jank and not really meant to do too much harm, but anyone could still just as easily do better.

TL;DR, don't have your freaking API keys as visible as they are.

QuantumCodes

In replit newsletter, they wrote SixBeeps made it?? Is that a
Mistake?

ch1ck3n

@QuantumCodes umm i dont see this project in the newsletter

QuantumCodes

But what can you do with all those posts? Sure you can read them, enjoy them, learn from them, but is that really enough? [@SixBeeps] didn’t think so, and decided to use thousands of repl talk posts to create an AI. If you’d like to learn how they accomplished this feat, check out this YouTube video. ||||||||
They say sixbeeps made an AI but here i see ruiwenge2 @ch1ck3n

QuantumCodes

@QuantumCodes OHH wait.. this isnt AI

SixBeeps

@QuantumCodes Congrajulashins

QuantumCodes

*@SixBeeps i should say u.. why u saying me??

SNStudio

Woah that's Very nice

ruiwenge2

@SNStudio thanks

haotinghuang

Bad

jihhyuu202
IshanKarpe

He is just on fire knowing every coding language!

IshanKarpe

Ye

G0RG3

Cool!

enews

Hey! Thanks for this cool tool, i really love it!
The only problem is that when i add in

<label for="myfile">Select a file to upload:</label>

<input type="file" id="myfile" name="myfile"><br><br>

And upload an image, it only shows the name of the image file. Any help?

Jessica0519

ruiwenge2, can I ask something? When will your birthday come? In fact, I asked this because I like you, you are very smart and want to make a birthday card using Pygame for you. I am really just 11 but please!!! Let's be friends!

ruiwenge2

@Jessica0519 lol my birthday just passed

ruiwenge2
Jessica0519

@ruiwenge2 Oh no! Sorry that I did not see your post about your birthday. Did you know that I will see your post everyday, even on school days??? I like you...but are you a girl or a boy? You know that I am a girl don't you. Oh, why I told you my gender. Okay, let's forget about it. ruiwenge2, are you a girl or a boy???

DefaultModels

@Jessica0519 I doubt online dating is allowed. Also isn’t 11 to young to even be here?

Jessica0519

@DefaultModels Hah, am I? A kid that is younger than my age, I know, she program here too! And her project will always go on trending. I will tell you a great knowledge about script programming. Kids over 7 years old have already formed essential thinking, which is right for script programming!

Jessica0519

@ruiwenge2 Please reply me!!! Are you a boy or a girl? I am a girl which is 11 :)

DefaultModels

@Jessica0519 I didn’t say you were underage to code, I started young as well. What I’m saying is you’re underage for repl.it talk. For your friend, she hasn’t had consequences as no one knows her real age

Jessica0519

@DefaultModels When did you started script programming? I started about 3~4 months ago.

DefaultModels

A few years ago @Jessica0519

Jessica0519

@DefaultModels Oh yeah. Me, 3~4 months ago.

RayhanADev

@Jessica0519 @DefaultModels @ruiwenge2 this thread is weird... chill out xD

@DefaultModels see what happens when non-moderators try and intervene, just leave things at a report :)

@Jessica0519 don't ask for people's age, gender, other personal info on the internet its weird and makes you look like a predator.

Also shoot an email to [email protected] (@TheDrone7) with parental approval for using Replit or else you'll get banned the community.

@ruiwenge2 thanks for doing nothing, I appreciate it :)

KadenBlox

Does this use the same database as your other projects? My account is the same as the ping pong

ruiwenge2
nameless12321

ERROR for site owner: Invalid domain for site key

ruiwenge2

@nameless12321 open it in a new tab

DillonB07

Squids are delicious 🦑🐙😋

RayhanADev

@DillonB07 how dare you..

poor DynamicSquid :P

DillonB07
PixiGem

@DynamicSquid here ya goo

TheDNAHero

@DillonB07 Dynamic squid has entered the chat...

DillonB07
xfinnbar

Please hash the passwords to prevent accounts from being hacked if the database gets breached.

ruiwenge2

@RonaldLeung1, do I have to give you credit every time I use your repl badge project? If so, thanks :)

RonaldLeung1

@ruiwenge2 nope, no need :D

ruiwenge2
dogsaregud

how do you use this?

ruiwenge2
calmoven

nice

VulcanWM

Woah nice! This is definitely going to go on trending!

ruiwenge2

@VulcanWM yay thanks!!!

VulcanWM
DynamicSquid

Very nice :D

ruiwenge2
Bunnytoes

@DynamicSquid I didn't know calamari was squid :(

illuminatieye

Impressive