Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
8bc0853
updating with old README
devesh-verma Feb 11, 2020
fab0fb5
Merge branch 'master' into development
devesh-verma Feb 11, 2020
354a22a
adding gitignore
devesh-verma Feb 11, 2020
52113dd
Improves UI and routing links
Feb 9, 2020
acf6cd9
Merge pull request #296 from rak-shit/development
devesh-verma Feb 11, 2020
4fca290
removed node_modules
devesh-verma Feb 11, 2020
ac4884e
Corrected Organization component reference
Feb 11, 2020
246f8f6
Added icons to the navbar
Feb 11, 2020
4635924
Merge pull request #302 from elit-altum/organization-update
devesh-verma Feb 11, 2020
9e2e635
Merge pull request #303 from rak-shit/development
devesh-verma Feb 11, 2020
841be3e
Improved upcoming events and notifications section
harsh253 Feb 13, 2020
96c00f9
fixed org info header and resolved console errors
Feb 13, 2020
74cbcbf
fixed org info header and resolved console errors
devesh-verma Feb 13, 2020
d2df915
resolving merge conflicts
Feb 13, 2020
1f650a5
Merge pull request #309 from dhanushrajendra/development
devesh-verma Feb 13, 2020
42751f0
Merge branch 'development' into contrbution
devesh-verma Feb 13, 2020
a718aa4
fixes wisth issues in top panel
devesh-verma Feb 13, 2020
da621dc
Merge pull request #307 from harsh253/contrbution
devesh-verma Feb 13, 2020
55ba1b7
Improves Navbar and the buttons in org and profile page
Feb 13, 2020
cddf8d3
added axios package and authentication
Feb 13, 2020
e7ee785
Merge pull request #310 from rak-shit/development
devesh-verma Feb 15, 2020
e13660e
Merge branch 'development' into development
devesh-verma Feb 15, 2020
661eafd
Merge pull request #311 from dhanushrajendra/development
devesh-verma Feb 15, 2020
3bca7f9
Revert "added axios package and authentication"
devesh-verma Feb 15, 2020
041afaf
Merge pull request #312 from codeuino/revert-311-development
devesh-verma Feb 15, 2020
a07bf0a
formatting and removed unused imports
Feb 15, 2020
4bd05e5
Merge branch 'development' of https://github.com/codeuino/Social-Plat…
Feb 17, 2020
ddd7afe
adds login functionality
Feb 17, 2020
faa02bf
Merge pull request #313 from dhanushrajendra/development
devesh-verma Feb 17, 2020
455fdfd
adds react-cookie
devesh-verma Feb 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at codeuino@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
179 changes: 142 additions & 37 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,68 +1,173 @@
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
<div align="center">

## Available Scripts
<img height=200px src="./READMEassets/doughnut.png">

In the project directory, you can run:
<h1>DONUT</h1>

### `npm start`
codeuino's open source social platform <br><br>

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
[![Slack Status](https://img.shields.io/badge/slack-chat-yellow.svg?logo=slack)](https://codeuino.slack.com) [![PRs Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?logo=github)](http://makeapullrequest.com) [![Issues Open](https://img.shields.io/github/issues-raw/codeuino/Social-Platform-Donut.svg?color=orange&logo=github)](https://github.com/codeuino/Social-Platform-Donut/issues) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg?logo=github)](https://www.gnu.org/licenses/gpl-3.0)

The page will reload if you make edits.<br />
You will also see any lint errors in the console.
</div>

### `npm test`
#### For frontend of this repo move to [this](https://github.com/codeuino/frontened) repository.

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
<div align='center'>
<img style="border:1px black solid;" height=165px src="READMEassets/signup_community.png">
<img style="border:1px black solid;" height=165px src="READMEassets/landing.gif">
<img style="border:1px black solid;" height=165px src="READMEassets/signup_user.png">
<img style="border:1px black solid;" height=165px src="READMEassets/feeds.png">
<img style="border:1px black solid;" height=165px src="READMEassets/edit_profile.png">
<img style="border:1px black solid;" height=165px src="READMEassets/dashboard.png">
</div>

### `npm run build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.
What is Donut?
--------
Being inspired by the Cornucopia of various social hub this project has been developed taking into consideration about open source.

Well, this is an Open Source Social networking hub which acts as a bridge between various Developers, Organisations and Open Source aspirants to elaborate on various things like #Projects, #Events, #Discussion on various researches, #Scholarships, #Coding release and various other things updates.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!
The major priority of this project has been that this platform allows users to make their project "Open Sourced" and released them under various open source Organisations, experts which hold up a ring plate on this portal.

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
This platform also makes users introduce and develops various solutions in the form of FOSS software to publish them for public use by integrating them with their social cause. Moreover, this project can be downloaded by any user, organization and can be used by them in their own custom way, making it run on their servers.
It is built on Node.js and utilizing mongoose as a database.

### `npm run eject`
Technical Features
--------------------
* Sign Up / Login Authentication
* Node.js basic Password Authentication ( Uses Unique email and Password )
* Third party access login
* Sign Up as a User and Organisation
* Write any Post that acts as a Feed ( with various formatting tools, tags effect, etc )
* Propose any project that a person wants to raise as researched under various organizations and experts.
* Write Events and get updates of various Events happening around.
* Scholarship Raiser, Open Source Internships.
* Open up the environment for the discussion through integrated Discussion platform
* Act with Open Stat
* Appropriate Dashboard with most APIs Activities log of projects and other things.
* Sourced Packaged, Custom made software ( can be changed according to needs after downloading it.
* Provides various opportunities to integrate many other Open Source projects recognized by organizations

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
Installation
------------

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
[![NODE JS](http://img.shields.io/badge/NodeJS-required-teal.svg?logo=node.js)](https://nodejs.org/en/) [![NPM](http://img.shields.io/badge/npm-required-red.svg?logo=npm)](http://npmjs.com/)

## Learn More
To get this project running locally on your machine follows the steps below in order:

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
1. fork this repo
2. clone the forked repo from your GitHub
using the command `git clone https://github.com/username/Social-Platform-Donut.git` don't forget to replace the username in the URL

To learn React, check out the [React documentation](https://reactjs.org/).
![fork-and-clone](READMEassets/forking-the-repo.gif)

### Code Splitting
3. Checkout to the development branch

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
```shell
git checkout development
```

### Analyzing the Bundle Size
4. Setting up the project locally.

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
```shell
npm install
```

### Making a Progressive Web App
5. Setting up the local database instance

You need to have a MongoDB atlas account to create local database.
Check out [this link](https://www.youtube.com/watch?v=KKyag6t98g8) to setup MongoDB atlas.
The mongodb URL should be pasted in `credential.js` files.

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
6. run this command to run on local

### Deployment
```shell
nodemon server.js
```
or
```shell
node server.js
```

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
HURRAY! you have done it just start contributing to the project.

### `npm run build` fails to minify
Now open your browser and type the link `http://localhost:3000` to continue viewing project.

Setting Up Database
------------


[![MongoDB](http://img.shields.io/badge/Mongo-DB-green.svg?logo=mongodb)](https://www.mongodb.com/download-center/community)

Make sure you have MongoDB installed on your computer. If not get it here [MongoDB Community Server](https://www.mongodb.com/download-center/community)

1. Open the terminal, locate the "scripts" folder and run the dbcreater.sh

```shell
bash dbcreater.sh
```

Note: For windows user, run this command using [git bash](https://git-scm.com/download/win)


## Contributions Best Practices

[![GitHub issues](https://img.shields.io/github/issues/codeuino/Social-Platform-Donut?logo=github)](https://github.com/codeuino/Social-Platform-Donut/issues) ![GitHub pull requests](https://img.shields.io/github/issues-pr-raw/codeuino/Social-Platform-Donut?logo=git&logoColor=white) ![GitHub contributors](https://img.shields.io/github/contributors/codeuino/Social-Platform-Donut?logo=github)

**Commits**
* Write clear meaningful git commit messages (Do read [this](http://chris.beams.io/posts/git-commit/)).
* Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (Check [this](https://github.com/blog/1506-closing-issues-via-pull-requests) for more info)
* When you make very very minor changes to a PR of yours (like for example fixing a failing Travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at [here](https://davidwalsh.name/squash-commits-git))
* When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.

## Community

[![GitHub forks](https://img.shields.io/github/forks/codeuino/Social-Platform-Donut?logo=github)](https://github.com/codeuino/Social-Platform-Donut/network) [![GitHub stars](https://img.shields.io/github/stars/codeuino/Social-Platform-Donut?logo=github)](https://github.com/codeuino/Social-Platform-Donut/stargazers) ![GitHub last commit](https://img.shields.io/github/last-commit/codeuino/Social-Platform-Donut?logo=github)

All feedback and suggestions are welcome!

* 💬 Join the community on [Slack](https://join.slack.com/t/codeuino/shared_invite/enQtMzcxOTQwNzE4NzcxLWEyNzUxYjI0ZThiNWUyYWI5MzJlMTNmODMxN2NjMTcxODJkZmFhNTVkYmUyOTQ1YzgzNTlmMTVkYzVhMzdmNTQ )
* 📣 Stay up to date on new features and announcements on the following:
- [@Mailing List](codeuino-devel@googlegroups.com).
- [@Discussion Portal](https://groups.google.com/d/forum/codeuino-devel).
- [@Codeuino Wiki](wiki.codeuino.org).


## Sponsors/Partners

Support this project by becoming a sponsor/collaborator/partner/contributors.
[[Become a sponsor](https://codeuino.org/)]

#### Current

| <a href="https://www.womenwhocode.com/"><img src="https://secure.meetupstatic.com/photos/event/2/6/d/b/600_456849947.jpeg" width="200px" height="100px"></a> | <a href="https://www.digitalocean.com/"><img src="https://upload.wikimedia.org/wikipedia/commons/f/ff/DigitalOcean_logo.svg" width="200px" height="100px"></a> |
|:-:|:-:|


## Licensing

[![GitHub license](https://img.shields.io/github/license/codeuino/Social-Platform-Donut?logo=github)](https://github.com/codeuino/Social-Platform-Donut/blob/master/LICENSE)

<b>Donut An Open Source Social Collaborating platform is a web Based framework Software,

Copyright (C) < 2018 Codeuino Contributors >
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License V3 as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details at OSI <https://opensource.org/licenses/GPL-3.0>

You should have received a copy of the GNU General Public License
along with this program. If not, see [this](http://www.gnu.org/licenses/).

[![Twitter Follow](https://img.shields.io/twitter/follow/codeuino?style=social)](https://twitter.com/codeuino) [![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/codeuino/Social-Platform-Donut)

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
Binary file added READMEassets/Home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/Info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/about.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/about2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/codeuino.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/doughnut.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/edit_profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/feeds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/forking-the-repo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/landing.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/running-locally.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/signup_community.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/signup_user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added READMEassets/womenwhocode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading