Files
IfcOpenShell/src/opencdeserver
dependabot[bot] 52c686b656 Bump flask from 2.0.1 to 2.3.2 in /src/opencdeserver
Bumps [flask](https://github.com/pallets/flask) from 2.0.1 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/2.0.1...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 10:06:31 +10:00
..

Server-Test

$ pip install -r requirements.txt
$ cd bcfserver/
$ python
>>> from run import db
>>> db.create_all()
$ export FLASK_APP=run.py
$ flask run

Go to http://localhost:5000 to see the server

Register the user

  1. Go to http://localhost:5000/register to register the user
  2. Create the client
  3. For grant type enter authorization_code
  4. For response_type enter code secret
  5. Enter the scope and create the client

You will be redirected to the page with the details of your client id and secret

Foundation API

  • Set the Base URL will be http://127.0.0.1:5000/