Visit live site
For a demo use the credentials below else you can always register yourself
Test email - tester@gmail.com
Test password - test1234
Example image1
Example image2
SmartBrain is a web application which uses ReactJs in the front end, Node.JS, Express.JS and PostgreSQL for its server and database respectively and detect faces in an image using an image recognition API
To work locally on this repo:
- Clone this repo!
- Run
npm install
- Run
npm start
With the ground rules out of the way, let's talk about the coarse architecture of this mono repo:
Frontend JavaScript: We use React to power our frontend apps. Almost all of the code you'll touch in this codebase will be JavaScript.
Here is a list of all the big technologies we use:
smartbrain-frontend/
├── public # Public files used on the frontend
├── src # Frontend Code in React
The first step to running smart-brain locally is downloading the code by cloning the repository:
git clone git@github.com/narayan954/smartbrain-frontend.git
If you get Permission denied
error using ssh
refer here
or use https
link as a fallback.
git clone https://github.com/narayan954/smartbrain-frontend.git
Smartbrain-frontend has a single installation step:
- Install the dependencies:
npm install
You've now finished installing everything! Let's start 💯
Ps: if you're getting error installing the dependencies, try --force command along with npm install. For example
npm install --force
Now you're ready to run the app locally and sign into your local instance!
To Start the development server run npm run dev
.
Here's a quick run down on how to get started with open source, first of all let's know some basic terminologies:
- Git: is a versioning system that let's you store your code and code history on your local computer preventing loses and allowing sharing of that code
- Github: is a server that let's you store the history in a database
- Open Source: A project is said to be open sourced if you can see the code on GitHub
- Fork: This is a copy that you make of a project on GitHub, it gets added to your repositories
- Repository: A project on GitHub is called a repository
- Pull Request: This is a fix for an issue proposed to be done in a project, this consists of you editing a file in the project.
- Issue: An issue is a change that should be done in a project, can be a bug, a new feature or a suggestion to a project
- Branch: A branch is a new workspace derived from the default workspace(main or master), it allows you to work on something without affecting the original code
Now you know some basic terms, let's get into how to get started with some resources to let you understand open source better:
- Crash Course to Git and Github - Video
- A complete Guide to Open Source - Video
- Guide to Open Source - Article
We heartily welcome any and all contributions that match our engineering standards! 🙌
That being said, this codebase isn't your typical open source project because it's not a library or package with a limited scope—it's our entire product.
All conversations and communities on Smart-Brain agree to GitHub's Community Guidelines and Acceptable Use Policies. This code of conduct also applies to all conversations that happen within our contributor community here on GitHub. We expect discussions in issues and pull requests to stay positive, productive, and respectful. Remember: There are real people on the other side of that screen:exclamation:
If you found a technical bug on Smart-Brain or have ideas for features we should implement, the issue tracker is the best place to share your ideas. Make sure to follow the issue template and you should be golden! (click here to open a new issue)
- If you find a bug on Smart-Brain and open a PR that fixes it we'll review it as soon as possible to ensure it matches our engineering standards.
- If you want to implement a new feature, open an issue first to discuss what it'd look like .
- If you want to contribute but are unsure to start, we have a "good first issue" label which is applied to newcomer-friendly issues. Take a look at the full list of good first issues and pick something you like!
- Want to fix a bug or implement an agreed-upon feature? Great, jump to the local setup instructions!
- No
console.log
s in any file: We use thedebug
module across the codebase to log debugging information in development only. Never commit a file that contains aconsole.log
as CI will fail your build. The only exceptions are errors, which you can log, but you have to useconsole.error
to be explicit about it
Thanks a lot for spending your time helping smartbrain-frontend grow. Thanks a lot! Keep rocking 🍻
smartbrain-frontend is now part of GitHub. For code of conduct, please see GitHub's Community Guidelines and Acceptable Use Policies.